correct syntax of chown
PR: 48515 Submitted by: Akihiro IIJIMA <aki@bsdclub.org> Approved by: markp (MAINTAINER)
This commit is contained in:
parent
60aefd7be6
commit
de70808b3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76278
4 changed files with 4 additions and 4 deletions
|
@ -5,5 +5,5 @@ FILE="/var/games/lexter.scores"
|
|||
|
||||
echo "===> Creating initial high score file $FILE"
|
||||
touch $FILE
|
||||
chown root.games $FILE
|
||||
chown root:games $FILE
|
||||
chmod 664 $FILE
|
||||
|
|
|
@ -5,5 +5,5 @@ FILE="/var/games/nighthawk.scores"
|
|||
|
||||
echo "===> Creating initial high score file $FILE"
|
||||
touch $FILE
|
||||
chown root.games $FILE
|
||||
chown root:games $FILE
|
||||
chmod 664 $FILE
|
||||
|
|
|
@ -192,7 +192,7 @@ POST-INSTALL)
|
|||
echo 'esac' >> ${startup_script};
|
||||
echo 'exit 0' >> ${startup_script};
|
||||
chmod 755 ${startup_script}
|
||||
chown bin.bin ${startup_script}
|
||||
chown bin:bin ${startup_script}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -2,7 +2,7 @@ sbin/sentinel
|
|||
etc/sentinel.cf.dist
|
||||
etc/rc.d/000.sentinel.sh
|
||||
@exec mkdir %D/var/sentinel
|
||||
@exec chown smmsp.smmsp %D/var/sentinel
|
||||
@exec chown smmsp:smmsp %D/var/sentinel
|
||||
@unexec rmdir %D/var/sentinel 2>/dev/null || true
|
||||
%%PORTDOCS%%share/doc/sentinel/README
|
||||
%%PORTDOCS%%@dirrm share/doc/sentinel
|
||||
|
|
Loading…
Reference in a new issue