summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-17 12:32:34 +0000
committerbde <bde@FreeBSD.org>1995-02-17 12:32:34 +0000
commit5395aa40b4ffcb16a1269b69481a55ddc988ee5d (patch)
tree7d5c5ed6583608efd20c9bf0bbfa315c872e0e83 /etc/MAKEDEV
parent8329459c37b8e1794e1d17becff61bf1870fda8b (diff)
downloadFreeBSD-src-5395aa40b4ffcb16a1269b69481a55ddc988ee5d.zip
FreeBSD-src-5395aa40b4ffcb16a1269b69481a55ddc988ee5d.tar.gz
Fix some bogus and missing chowns:
444 -> root.wheel root -> root.wheel uucp -> uucp.wheel (perhaps this should be .dialer, but .wheel is safer) missing -> root.wheel chown to root is usually bogus because mknod had to be run by root to create the inode. Setting the group explictly is currently necessary because MAKEDEV does nothing to ensure that its working directory has a suitable group. Driver authors! Please fix any bogons in MAKEDEV that involve your drivers. The sound devices are still world writable...
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV16
1 files changed, 9 insertions, 7 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index fb04669..c83e415 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -77,7 +77,7 @@
# spigot Video Spigot video aquisition card
# isdn* ISDN devices
#
-# $Id: MAKEDEV,v 1.69 1995/02/14 23:48:05 jkh Exp $
+# $Id: MAKEDEV,v 1.70 1995/02/16 16:03:29 bde Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -686,6 +686,7 @@ gsc)
rm -f gsc0
mknod gsc0 c 47 0
chmod 666 gsc0
+ chown root.wheel gsc0
;;
apm)
@@ -714,7 +715,7 @@ ttyx?|ttyy?|ttyz?)
cronyx)
rm -f cronyx
mknod cronyx c 42 63
- chown 444 cronyx
+ chown root.wheel cronyx
;;
joy)
@@ -722,6 +723,7 @@ joy)
mknod joy0 c 51 0
mknod joy1 c 51 1
chmod 444 joy0 joy1
+ chown root.wheel joy0 joy1
;;
spigot)
@@ -774,23 +776,23 @@ isdn*)
mknod /dev/itel01 c `expr $unit + 3` 1
mknod /dev/ispy c `expr $unit + 5` 0
chmod 600 n8ic0 n9ic0 snic0 isdn isdn? ity?? itel?? ispy
- chown root n8ic0 n9ic0 snic0 isdn isdn? ity?? itel?? ispy
- chown uucp ityo[01]
+ chown root.wheel n8ic0 n9ic0 snic0 isdn isdn? ity?? itel?? ispy
+ chown uucp.wheel ityo[01]
case $type in
5000)
ln /dev/snic0 /dev/nic0
chmod 600 /dev/nic0
- chown root /dev/nic0
+ chown root.wheel /dev/nic0
;;
3008)
ln /dev/n8ic0 /dev/nic0
chmod 600 /dev/nic0
- chown root /dev/nic0
+ chown root.wheel /dev/nic0
;;
3009)
ln /dev/n9ic0 /dev/nic0
chmod 600 /dev/nic0
- chown root /dev/nic0
+ chown root.wheel /dev/nic0
;;
1000|tel*|TEL*|none)
;;
OpenPOWER on IntegriCloud