summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc/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.powerpc/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.powerpc/MAKEDEV')
-rw-r--r--etc/etc.powerpc/MAKEDEV12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index dacdd2e173c..02dc2dcde00 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.28 2000/02/03 03:06:54 rahnds Exp $
+# $OpenBSD: MAKEDEV,v 1.29 2000/03/22 07:34:30 niklas Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -39,7 +39,6 @@
# wd* IDE disks
# sd* SCSI disks
# cd* SCSI cdrom drives
-# ch* SCSI media changer
# vnd* "file" pseudo-disks
# rd* "ramdisk" pseudo-disks
# ccd* concatenated disk devices
@@ -57,6 +56,7 @@
# CyberVision 64 (grf5)
#
# Special purpose devices:
+# ch* SCSI media changer
# bpf* Berkeley Packet Filter
# tun* network tunnel driver
# lkm loadable kernel modules interface
@@ -366,11 +366,11 @@ st*)
mknod nr${name}${unit} c $chr $(( $unit * 16 + 1 ))
mknod er${name}${unit} c $chr $(( $unit * 16 + 2 ))
mknod enr${name}${unit} c $chr $(( $unit * 16 + 3 ))
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.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} \
+ 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}
@@ -391,8 +391,8 @@ ch*)
case $unit in
0|1|2|3|4|5|6)
mknod ${name}${unit} c $chr $unit
- chgrp operator ${name}${unit}
- chmod 640 ${name}${unit}
+ chown root.operator ${name}${unit}
+ chmod 660 ${name}${unit}
;;
*)
echo bad unit for media changer in: $i