summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-01-21 09:42:20 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-01-21 09:42:20 +0000
commitc949fad9c451bd26ed03bdd2b353af53c962e3df (patch)
tree6608275401538209965fc4156961fe2232ed9ff5 /etc/MAKEDEV
parenta455fbe1d8378a8c9150b7f12d14ce4a4a60f82e (diff)
downloadFreeBSD-src-c949fad9c451bd26ed03bdd2b353af53c962e3df.zip
FreeBSD-src-c949fad9c451bd26ed03bdd2b353af53c962e3df.tar.gz
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.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 2fc9808..48a84a3 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -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*)
OpenPOWER on IntegriCloud