Ownership
This commit is contained in:
parent
30bb3c230e
commit
1f1a354901
|
@ -6561,6 +6561,8 @@ function upgrade_owncloud_finish {
|
||||||
sed -i "s|'secret'.*|'secret' => '$OWNCLOUD_SECRET',|g" $OWNCLOUD_PATH/config/config.php
|
sed -i "s|'secret'.*|'secret' => '$OWNCLOUD_SECRET',|g" $OWNCLOUD_PATH/config/config.php
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chown root:root $OWNCLOUD_PATH/config/config.php
|
||||||
|
|
||||||
# re-index the files
|
# re-index the files
|
||||||
for d in /home/*/ ; do
|
for d in /home/*/ ; do
|
||||||
USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
||||||
|
|
Loading…
Reference in New Issue