diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1999-08-20 17:00:39 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1999-08-20 17:00:39 +0000 |
commit | ba8dd013df3354828f93ae36fcb05e6bd34db0e4 (patch) | |
tree | 6bad76b347c198f58356f7fecef63053a11102ae /etc/etc.amiga/MAKEDEV | |
parent | d59b60290a19250ffb3c30f8b7e8e14cd115f6cd (diff) |
Change the default serial port device and /var/spool/lock permissions.
/var/spool/lock becomes uucp.dialer, mode 1775, and serial devices
become uucp.dialer, mode 660.
(A couple of "dead" MAKEDEVs have been updated because they conformed the
the old permission scheme, while others have not because they didn't.)
Diffstat (limited to 'etc/etc.amiga/MAKEDEV')
-rw-r--r-- | etc/etc.amiga/MAKEDEV | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/etc/etc.amiga/MAKEDEV b/etc/etc.amiga/MAKEDEV index eab587c00ab..69ff32933fc 100644 --- a/etc/etc.amiga/MAKEDEV +++ b/etc/etc.amiga/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.42 1999/07/30 18:49:35 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.43 1999/08/20 17:00:33 downsj Exp $ # $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -406,7 +406,8 @@ tty0*|ttyA*) rm -f tty0${unit} cua0${unit} mknod tty0${unit} c 12 0 mknod cua0${unit} c 12 128 - chown uucp.wheel tty0${unit} cua0${unit} + chown uucp.dialer tty0${unit} cua0${unit} + chmod 660 tty0${unit} cua0${unit} ;; *) echo bad unit for tty0 in: $i @@ -418,7 +419,8 @@ tty0*|ttyA*) rm -f ttyA${unit} ttyM${unit} mknod ttyA${unit} c 17 $unit mknod ttyM${unit} c 17 `expr 128 + $unit` - chown uucp.wheel ttyA${unit} ttyM${unit} + chown uucp.dialer ttyA${unit} ttyM${unit} + chmod 660 ttyA${unit} ttyM${unit} ;; *) echo bad unit for ttyA in: $i @@ -568,7 +570,8 @@ ttyB*) rm -f ttyB$unit cuaB$unit mknod ttyB$unit c 32 $unit mknod cuaB$unit c 32 `expr $unit + 128` - chown uucp.wheel ttyB$unit cuaB$unit + chown uucp.dialer ttyB$unit cuaB$unit + chmod 660 ttyB$unit cuaB$unit ;; lpt*|lpa*) |