From 3eddd15d498cc8117d8d5753bd39c6378d7cc7ae Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 27 Mar 1998 04:19:30 +0000 Subject: [PATCH] Fix permissions on initial/lock specialix cua device nodes. PR: 6137 --- etc/MAKEDEV | 6 ++++-- etc/etc.i386/MAKEDEV | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 13ac14c47aab..e8648143ab6c 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -107,7 +107,7 @@ # pci PCI configuration-space access from user mode # ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth) # -# $Id: MAKEDEV,v 1.160 1998/03/22 11:42:03 peter Exp $ +# $Id: MAKEDEV,v 1.161 1998/03/22 13:18:07 peter Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -829,9 +829,11 @@ cuaA*) minor=`expr $port - 1` name=`expr $port + 1000 | cut -c 3-4` mknod cuaA$name c $major `expr $minor + 128` + chown uucp.dialer cuaA$name + umask 77 mknod cuaiA$name c $major `expr $minor + 128 + 65536` mknod cualA$name c $major `expr $minor + 128 + 131072` - chown uucp.dialer cuaA$name cuaiA$name cualA$name + umask 7 port=`expr $port + 1` done umask 77 diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 13ac14c47aab..e8648143ab6c 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -107,7 +107,7 @@ # pci PCI configuration-space access from user mode # ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth) # -# $Id: MAKEDEV,v 1.160 1998/03/22 11:42:03 peter Exp $ +# $Id: MAKEDEV,v 1.161 1998/03/22 13:18:07 peter Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -829,9 +829,11 @@ cuaA*) minor=`expr $port - 1` name=`expr $port + 1000 | cut -c 3-4` mknod cuaA$name c $major `expr $minor + 128` + chown uucp.dialer cuaA$name + umask 77 mknod cuaiA$name c $major `expr $minor + 128 + 65536` mknod cualA$name c $major `expr $minor + 128 + 131072` - chown uucp.dialer cuaA$name cuaiA$name cualA$name + umask 7 port=`expr $port + 1` done umask 77