Group of usb and usb\d+ is now operator and permissions are 0660.
Might need to be revisted to make it 0640 and limit the access to usb and usb\d+ (in sys/dev/usb/usb.c) to 'retrieve info' only for operator.
This commit is contained in:
parent
ab3aa81372
commit
a043eecf95
@ -883,12 +883,14 @@ pps*)
|
||||
;;
|
||||
|
||||
usb)
|
||||
mknod usb$unit c 108 255
|
||||
mknod usb$unit c 108 255 root:operator
|
||||
chmod 0660 usb$unit
|
||||
;;
|
||||
|
||||
usb*)
|
||||
unit=`expr $i : 'usb\(.*\)'`
|
||||
mknod usb$unit c 108 $unit
|
||||
mknod usb$unit c 108 $unit root:operator
|
||||
chmod 0660 usb$unit
|
||||
;;
|
||||
|
||||
ums*)
|
||||
|
Loading…
Reference in New Issue
Block a user