1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00

Update restore

This commit is contained in:
ericgaspar 2021-07-22 20:49:58 +02:00
parent 9c740189e4
commit e9984d1c20
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -99,13 +99,13 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name
# RESTORE USER RIGHTS
#=================================================
chown "$app" "$final_path/config"
chmod 750 "$final_path/config"
chown "$app" "$final_path/galette/config"
chmod 750 "$final_path/galette/config"
for folder in attachments cache exports files imports logs photos templates_c tempimages
do
chown "$app" "$final_path/data/$folder"
chmod 775 "$final_path/data/$folder"
chown "$app" "$final_path/galette/data/$folder"
chmod 775 "$final_path/galette/data/$folder"
done
#=================================================