Browse Source

more POSIX chown

OPENBSD_3_4
millert 21 years ago
parent
commit
5e67d80a22
2 changed files with 10 additions and 10 deletions
  1. +2
    -2
      src/etc/etc.sparc/install.sh
  2. +8
    -8
      src/etc/etc.svr4/SVR4_MAKEDEV

+ 2
- 2
src/etc/etc.sparc/install.sh View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $OpenBSD: install.sh,v 1.5 2002/06/09 06:15:14 todd Exp $
# $OpenBSD: install.sh,v 1.6 2003/04/10 22:42:29 millert Exp $
# XXX should handle --unlink # XXX should handle --unlink
@ -99,7 +99,7 @@ done
# #
echo "Installing bsd.scsi3 as kernel, replace by hand you need to." echo "Installing bsd.scsi3 as kernel, replace by hand you need to."
cp ./bsd.scsi3 $INSTALLTO/bsd cp ./bsd.scsi3 $INSTALLTO/bsd
chmod 640 $INSTALLTO/bsd; chown root.kmem $INSTALLTO/bsd
chmod 640 $INSTALLTO/bsd; chown root:kmem $INSTALLTO/bsd
if [ ! -c $INSTALLTO/dev/console ];then if [ ! -c $INSTALLTO/dev/console ];then
echo "Tar did not understand device nodes - removing" echo "Tar did not understand device nodes - removing"
rm -rf $INSTALLTO/dev/[a-z]* rm -rf $INSTALLTO/dev/[a-z]*


+ 8
- 8
src/etc/etc.svr4/SVR4_MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: SVR4_MAKEDEV,v 1.5 2002/06/09 06:15:15 todd Exp $
# $OpenBSD: SVR4_MAKEDEV,v 1.6 2003/04/10 22:42:29 millert Exp $
# $NetBSD: SVR4_MAKEDEV,v 1.3 1996/04/11 12:59:45 christos Exp $ # $NetBSD: SVR4_MAKEDEV,v 1.3 1996/04/11 12:59:45 christos Exp $
# #
# Copyright (c) 1995 Christos Zoulas # Copyright (c) 1995 Christos Zoulas
@ -55,45 +55,45 @@ all)
;; ;;
tcp) tcp)
mknod $i c 43 35 mknod $i c 43 35
chown bin.bin $i
chown bin:bin $i
chmod 666 $i chmod 666 $i
;; ;;
udp) udp)
mknod udp c 43 36 mknod udp c 43 36
chown bin.bin $i
chown bin:bin $i
chmod 666 $i chmod 666 $i
;; ;;
rawip) rawip)
mknod $i c 43 37 mknod $i c 43 37
chown bin.bin $i
chown bin:bin $i
chmod 666 $i chmod 666 $i
;; ;;
ticlts) ticlts)
mknod $i c 43 38 mknod $i c 43 38
chown bin.bin $i
chown bin:bin $i
chmod 666 $i chmod 666 $i
;; ;;
ticotsord) ticotsord)
mknod $i c 43 39 mknod $i c 43 39
chown bin.bin $i
chown bin:bin $i
chmod 666 $i chmod 666 $i
;; ;;
ticots) ticots)
mknod $i c 43 40 mknod $i c 43 40
chown bin.bin $i
chown bin:bin $i
chmod 666 $i chmod 666 $i
;; ;;
wabi) wabi)
mknod $i c 3 2 # /dev/null mknod $i c 3 2 # /dev/null
chown bin.bin $i
chown bin:bin $i
chmod 666 $i chmod 666 $i
;; ;;


Loading…
Cancel
Save