Subject: Re: default /dev/tty* mode and ownership
To: None <>
From: Geoff Wing <>
List: tech-userlevel
Date: 07/30/2001 06:56:44
Emmanuel Dreyfus <> typed:
: Currently:
: /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 : <>
Rxvt Stuff : <>
Zsh Stuff  : <>