pi-bind...sorry if this is a repeat

MJ Ray markj at cloaked.freeserve.co.uk
Wed May 8 20:15:22 EDT 2002

Jim Newton <jimka at rdrop.com> wrote:
> chmod a+rw /dev/ttyS0

That allows anyone to read and write the serial device.  Please don't ever
do that on a multi-user machine as it can get very messy.  Normally, the
ttyS0 device will be owned by a group such as "serial" and you should edit
/etc/group (maybe with "vigr") to add users who may sync to that group. 

Another option, which may be better for most desktop users, is to add
commands to chown the device to the currently logged-in user to the X
session root startup script (/etc/X11/wdm/Xsession here I think, local
variations apply) and chown it back in the reset script.

More information about the Jpilot mailing list