Bläddra i källkod

Directory ownership

Bob Mottram 7 år sedan
förälder
incheckning
5b0afb0c15
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3
    0
      src/freedombone-app-turtl

+ 3
- 0
src/freedombone-app-turtl Visa fil

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