Ownership

This commit is contained in:
Bob Mottram 2016-03-12 14:06:24 +00:00
parent 30bb3c230e
commit 1f1a354901
1 changed files with 2 additions and 0 deletions

View File

@ -6561,6 +6561,8 @@ function upgrade_owncloud_finish {
sed -i "s|'secret'.*|'secret' => '$OWNCLOUD_SECRET',|g" $OWNCLOUD_PATH/config/config.php
fi
chown root:root $OWNCLOUD_PATH/config/config.php
# re-index the files
for d in /home/*/ ; do
USRNAME=$(echo "$d" | awk -F '/' '{print $3}')