Fix permissions on initial/lock specialix cua device nodes.
PR: 6137
This commit is contained in:
parent
cbd71a62bb
commit
3eddd15d49
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user