diff --git a/src/freedombone b/src/freedombone index 3b55ba5f..40a76719 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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}')