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