On 7/31/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:

I noticed that /dev/ttyX was getting changed to 600 permissions owned
by my user a few weeks ago, but never knew how or why. It seems from
what you both have said, login changes the permissions, but su doesn't
for obvious reasons.

A little follow up here. Probably others knew this, but I didn't. The
tty permissions getting changed to 0600 is done by login. The is in
shadow in libmisc/chowntty.c. The permissions can be controlled by
TTYGROUP and TTYPERM in /etc/login.defs. That's besides the point.
Greg pointed out to me that this has been reported upstream. Here's
the link in case his mail doesn't get through.

http://lists.gnu.org/archive/html/bug-bash/2006-05/msg00018.html

Looks like this could be the simple fix, but I'm not on a system to test.

$ sed -i '[EMAIL PROTECTED] \(/dev/fd/.\)@-e \1@' configure

--
Dan
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to