Browse Source

Ownership

Bob Mottram 9 years ago
parent
commit
1f1a354901
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone View File

6561
         sed -i "s|'secret'.*|'secret' => '$OWNCLOUD_SECRET',|g" $OWNCLOUD_PATH/config/config.php
6561
         sed -i "s|'secret'.*|'secret' => '$OWNCLOUD_SECRET',|g" $OWNCLOUD_PATH/config/config.php
6562
     fi
6562
     fi
6563
 
6563
 
6564
+    chown root:root $OWNCLOUD_PATH/config/config.php
6565
+
6564
     # re-index the files
6566
     # re-index the files
6565
     for d in /home/*/ ; do
6567
     for d in /home/*/ ; do
6566
         USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
6568
         USRNAME=$(echo "$d" | awk -F '/' '{print $3}')