Will Newton writes:
>
> 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".
That's what the IGNORE action is for. I've updated the sample
devfsd.conf file to give this hint. Here's the relevant portion:
REGISTER ^pt[sy]/.* IGNORE
CHANGE ^pt[sy]/.* IGNORE
REGISTER ^pt[sy]/.* IGNORE
REGISTER .* COPY /dev-state/$devname $devpath
CHANGE .* COPY $devpath /dev-state/$devname
CREATE .* COPY $devpath /dev-state/$devname
If this doesn't work, then let me know.
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|