On Friday 26 April 2002 11:03 am, Michiel Vreeburg wrote: > i am making a lpr package for heyu and xtend.(http://heyu.tanj.com/) > it is an x10 control program for the lights in my home. > but i have some problems connecting to the /dev/ttyS0 and /dev/ttyS1. > > ls ttyS* -l on the lrp(bering) is reporting: > crwxrwxrwx 1 root dialout 4, 64 Feb 10 13:25 ttyS0 > crwxrwxrwx 1 root dialout 4, 65 Feb 10 13:25 ttyS1 > > my suse machien is reporting (and working): > crw-rw---- 1 root uucp 4, 64 Jan 19 2001 ttyS0 > crwxrwxrwx 1 root uucp 4, 65 Apr 26 13:46 ttyS1 > > i think that the problem lays in the dailout and uucp. > but how do i change it?
You never said what your problem was, so it is sort of hard for us to try and help you fix it. uucp and dialout are the "group" that the ttys are owned by. Groups are listed in /etc/group and changing file groups is done with chgrp. A good UNIX book would be of help here. You shouldn't have to change the groups here, as the permissions are 777 (world access) - anyone can access the ttys. Also, none of the machines I have handy seem to have 777 permissions on ttys - usually it's one of three: 440 (w--w-----) or 666 (rw-rw-rw-) or 600 (rw-------). In most cases the ttys are owned by root; however, the group varies (uucp, ttys, root, others). I looked at HPUX, Linux, FreeBSD.... I'd make the ttys 666: chmod 666 /dev/tty* _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
