summaryrefslogtreecommitdiff
path: root/etc/etc.mvme88k/MAKEDEV
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-22 07:34:32 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-22 07:34:32 +0000
commitd3f7ada71eed6243454783c9db7585b45d4fb589 (patch)
tree057b3fd3abf1dad21b590e1b7b2717430824259d /etc/etc.mvme88k/MAKEDEV
parent9f9f29b1da377f5235ab70174a518b401e0a4f8f (diff)
operator should have perms to write and change tapes. ch* is still missing
in some MAKEDEVs, will see to them in a separate commit.
Diffstat (limited to 'etc/etc.mvme88k/MAKEDEV')
-rw-r--r--etc/etc.mvme88k/MAKEDEV17
1 files changed, 13 insertions, 4 deletions
diff --git a/etc/etc.mvme88k/MAKEDEV b/etc/etc.mvme88k/MAKEDEV
index cca9c768cc9..5414f092b50 100644
--- a/etc/etc.mvme88k/MAKEDEV
+++ b/etc/etc.mvme88k/MAKEDEV
@@ -270,19 +270,28 @@ st*)
mknod enr$name$unit c $chr `expr $unit '*' 16 + 3`
chgrp operator $name$unit n$name$unit e$name$unit en$name$unit \
r$name$unit nr$name$unit er$name$unit enr$name$unit
- chmod 640 $name$unit n$name$unit e$name$unit en$name$unit \
+ chmod 660 $name$unit n$name$unit e$name$unit en$name$unit \
r$name$unit nr$name$unit er$name$unit enr$name$unit
;;
-ch*|uk*)
+ch*)
case $i in
ch*) name=ch; unit=${i#ch}; chr=31;;
+ esac
+ rm -f $name$unit
+ mknod $name$unit c $chr $unit
+ chown root.operator $name$unit
+ chmod 660 $name$unit
+ ;;
+
+uk*)
+ case $i in
uk*) name=uk; unit=${i#uk}; chr=34;;
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
- chgrp operator $name$unit
- chmod 640 $name$unit
+ chown root.wheel $name$unit
+ chmod 600 $name$unit
;;
cd*)