Permissions not working as expected
Posted on 2001-06-29
I want a user to be able to write into the /var/lock directory under Linux Red Hat 7.1.
foo> ls -l /var | grep lock
drwxrwxr-x 5 root uucp 4096 Jun 29 04:02 lock
Since the group for this directory is 'uucp' I added the user freddie to the 'uucp' group.
foo> grep uucp /etc/group
But I still can NOT write to that directory. (See below)
foo> touch /var/lock/foobar
touch: creating `/var/lock/foobar': Permission denied
Any ideas? I have the same problem with writing to the serial port /dev/ttyS0