Browse Source

Directory ownership

Bob Mottram 7 years ago
parent
commit
5b0afb0c15
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-app-turtl

+ 3
- 0
src/freedombone-app-turtl View File

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