devfs
[Top] [All Lists]

pty perms

To: <devfs@xxxxxxxxxxx>
Subject: pty perms
From: Will Newton <will@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Mar 2001 06:15:53 +0100 (BST)
Sender: owner-devfs@xxxxxxxxxxx
I am using the config that comes with devfs to handle permissions over
reboots. Unfortunately I have a problem with saving pty permissions.

Basically if I (me, the user) open a pty it adds an entry in
/dev-state/pty:

crw-------    1 will     will     136,   2 Mar 29 05:53 1

This is OK if I am the only user on the machine (which I usually am), but
when another user comes to use the machine:

crw--w----    1 root     tty      136,   7 Mar 29 06:13 2

And so on. Next user logs in "Permission denied".

What is my way out of this?



<Prev in Thread] Current Thread [Next in Thread>