Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: group perms on /dev/pts/* | Date | 25 May 1999 08:30:15 GMT |
| |
Followup to: <Pine.LNX.4.10.9905171037310.16393-100000@brookie.inconnect.com> By author: Dax Kelson <dkelson@inconnect.com> In newsgroup: linux.dev.kernel > > > > Since 2.2.7 I've been seeing some wierd FOO with /dev/pts/*. > > > I use screen, which requires +rwx permissions on /dev/pts/1, > > > or which ever terminal it is currently on... however, the group > > > permissions appear to now be set, by default, to _just_ +w. > > > Yes, I am in group tty.... I can fix the problem by manually > > > sudo chmod g+rwx /dev/pts/* > > > but it's annoying... does anyone know if this is a bug? a > > > feature? an automated workaround? Thanks in advance. > > > Edit your /etc/fstab, change the mode to "640" instead of "620"..ie.. > > none /dev/pts devpts gid=5,mode=640 0 0 >
Don't do that unless you want people to snoop on you. 620 are the proper perms; if that doesn't work with screen, screen is broken.
-hpa -- "The user's computer downloads the ActiveX code and simulates a 'Blue Screen' crash, a generally benign event most users are familiar with and that would not necessarily arouse suspicions." -- Security exploit description on http://www.zks.net/p3/how.asp
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |