Directory ownership

This commit is contained in:
Bob Mottram 2017-06-18 20:18:15 +01:00
parent 78486a0860
commit 5b0afb0c15
1 changed files with 3 additions and 0 deletions

View File

@ -570,6 +570,9 @@ __ENDCONFIG__
wget https://beta.quicklisp.org/quicklisp.lisp
fi
if [ -d $TURTL_BASE_DIR ]; then
chown -R turtl:turtl $TURTL_BASE_DIR
fi
adduser --disabled-login --home=$TURTL_BASE_DIR --gecos 'turtl' turtl
if [ ! -d /home/turtl ]; then
echo $"/home/turtl directory not created"