Let symlinks be in the installed set of files ; make symlink from /var/log to
/usr/log.
This commit is contained in:
parent
20add6baa2
commit
23bcf287cb
4 changed files with 6 additions and 1 deletions
|
@ -8,4 +8,6 @@ news:*:6:
|
||||||
ftp:*:7:
|
ftp:*:7:
|
||||||
kmem:*:8:
|
kmem:*:8:
|
||||||
www:*:9:
|
www:*:9:
|
||||||
|
driver:*:10:
|
||||||
|
server:*:11:
|
||||||
nogroup:*:99:
|
nogroup:*:99:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cat $1 | while read line
|
cat $1 | while read line
|
||||||
do echo $line | awk '{ print "mkdir -p "$4" || exit 1; chmod "$1" "$4" || exit 1; chown "$2" "$4" || exit 1; chgrp "$3" "$4" || exit 1" }' | sh || exit 1
|
do echo $line | awk 'NF==4 { print "mkdir -p "$4" || exit 1; chmod "$1" "$4" || exit 1; chown "$2" "$4" || exit 1; chgrp "$3" "$4" || exit 1" } NF==3 { print "rm "$1" ; ln -s "$3" "$1" || exit 1" } ' | sh || exit 1
|
||||||
done
|
done
|
||||||
|
|
|
@ -69,6 +69,7 @@
|
||||||
755 bin operator /usr/src
|
755 bin operator /usr/src
|
||||||
1777 root operator /usr/tmp
|
1777 root operator /usr/tmp
|
||||||
755 root operator /var
|
755 root operator /var
|
||||||
|
/var/log -> /usr/log
|
||||||
755 root operator /usr/log
|
755 root operator /usr/log
|
||||||
755 root operator /var/run
|
755 root operator /var/run
|
||||||
755 bin operator /usr/gnu/
|
755 bin operator /usr/gnu/
|
||||||
|
|
|
@ -6,4 +6,6 @@ news:*:6:6:Usenet news:/usr/spool/news:
|
||||||
ftp:*:7:7:Anonymous FTP:/usr/ftp:
|
ftp:*:7:7:Anonymous FTP:/usr/ftp:
|
||||||
ast:*:8:3:Andrew S. Tanenbaum:/home/ast:
|
ast:*:8:3:Andrew S. Tanenbaum:/home/ast:
|
||||||
www:*:9:9:World Wide Web:/usr/www:
|
www:*:9:9:World Wide Web:/usr/www:
|
||||||
|
driver:*:10:10:Device Drivers:/:
|
||||||
|
server:*:11:11:OS Servers:/:
|
||||||
nobody:*:9999:99::/tmp:
|
nobody:*:9999:99::/tmp:
|
||||||
|
|
Loading…
Reference in a new issue