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.powerpc | |
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.powerpc')
-rw-r--r-- | etc/etc.powerpc/MAKEDEV | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV index 98f5925f228..64c613083f8 100644 --- a/etc/etc.powerpc/MAKEDEV +++ b/etc/etc.powerpc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.26 1998/11/25 04:58:55 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.27 1999/08/20 17:00:37 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -290,7 +290,8 @@ ttyo*) case ${unit} in 0|1) mknod ttyo${unit} c 14 ${unit} - chown uucp.wheel ttyo${unit} + chown uucp.dialer ttyo${unit} + chmod 660 ttyo${unit} ;; *) echo bad unit for serial tty in: $i @@ -302,7 +303,8 @@ tty0*) rm -f tty0$unit cua0$unit mknod tty0$unit c 7 $unit mknod cua0$unit c 7 `expr $unit + 128` - chown uucp.wheel tty0$unit cua0$unit + chown uucp.dialer tty0$unit cua0$unit + chmod 660 tty0$unit cua0$unit ;; pty*) |