Subject: Re: default /dev/tty* mode and ownership
To: None <>
From: Geoff Wing <>
List: tech-userlevel
Date: 07/29/2001 08:14:06
Emmanuel Dreyfus <> typed:
: Currently, /dev/tty* are created mode 600 root/wheel.

All /dev/tty* (which are associated with /dev/pty*) are created
mode 666 on every platform.  Where did you get your MAKEDEV from?
Is this mode 600 specific to some configuration which you haven't

: Is there any problem creating them mode 620 root/tty?

Yes, it presumes the client program is user root, setuid root,
group tty or setgid tty.  With mode 666 anyone can get themselves
a pty/tty pair.

Geoff Wing : <>
Rxvt Stuff : <>
Zsh Stuff  : <>