Subject: Re: default /dev/tty* mode and ownership
To: None <email@example.com>
From: Geoff Wing <firstname.lastname@example.org>
Date: 07/29/2001 08:14:06
Emmanuel Dreyfus <email@example.com> 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 : <firstname.lastname@example.org>
Rxvt Stuff : <email@example.com>
Zsh Stuff : <firstname.lastname@example.org>