# emerge taylor-uucp # cu -l tty0 cu: creat (/var/lock/uucp/TMP0000002093): Permission denied cu: tty0: Line in use Problem is following: # ls -lsa /var/lock/uucp/ total 8 4 drwxrwxr-x 2 root uucp 4096 Dec 15 15:35 . 4 drwxrwxr-x 4 root uucp 4096 Dec 15 13:53 .. # ls -lsa `which cu` 104 -r-s--x--x 1 uucp root 102020 Dec 15 13:53 /usr/bin/cu The problem is that cu is defined as UID=uucp, GID=root, while /var/lock/uucp/ is the opposite. This doesn't work. To make this work, I need to make cu setgid uucp too: # chgrp uucp /usr/bin/cu # chmod g+s /usr/bin/cu # ls -lsa /usr/bin/cu 104 -r-x--s--x 1 uucp uucp 102020 Dec 15 13:53 /usr/bin/cu # cu -l tty0 Connected. Reproducible: Always Steps to Reproduce:
Re-assign, maintainer retired.
taking over the maintainership
submitted taylor-uucp-1.07-r1 to the tree. the new version install executables with SUID and SGID bits enabled and uuid:uuid as owner:group.