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:
parent
9c740189e4
commit
e9984d1c20
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue