lkml.org 
[lkml]   [1998]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devfs: default permissions - SOLUTION
Christian A. Lademann writes:
> How about some special file like /proc/devperms or /devfs/devperms that
> contains conservative defaults on system-boot and can be overwritten with
> the default permissions favoured by the system-administrator as one of
> the first things before loading the device-drivers?
>
> It could look like
>
> # dev uid gid mode flags
> hd 0 0 0600 nocreate
> lp 0 0 0660 nocreate
> sd 0 0 0600 nocreate
> ttyC 0 0 0660
>
> .
> .
> .

What creates those "conservative defaults" before device drivers are
loaded? What happens if a device driver is loaded (i.e. built-in)
before the administrator changes the permissions?
Also, you you have to write the entire permissions database again?
Finally, you can get a more traditional effect by doing:
# ls -l /dev
# chown root.lp /dev/lp*

Regards,

Richard....

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.041 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site