Subject: Re: default /dev/tty* mode and ownership
To: None <email@example.com>
From: Geoff Wing <firstname.lastname@example.org>
Date: 07/30/2001 06:56:44
Emmanuel Dreyfus <email@example.com> typed:
: /dev/tty is mode 666 root/wheel
: /dev/tty[pqrs]* are mode 600 root/wheel, and are changed to mode 620
: `whoami`/tty when you log in.
This is the bit we're disputing. Currently: /dev/tty[pqrs]* are
mode 666 in the unused state. Firstly, MAKEDEV makes them that way.
Secondly, /etc/rc.d/ttys resets them that way in case you had a
bad shutdown (obviously not relevant for a readonly /dev case).
Changing them from default mode 666 limits who can use ptys.
Geoff Wing : <firstname.lastname@example.org>
Rxvt Stuff : <email@example.com>
Zsh Stuff : <firstname.lastname@example.org>