1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

(re)apply correct perms for the data_dir on restore

otherwise the database is not readable by the app...
This commit is contained in:
OniriCorpe 2024-09-03 07:58:24 +02:00 committed by OniriCorpe
parent 7af8e33a9f
commit 5b4da49781

View file

@ -27,6 +27,9 @@ ynh_script_progression --message="Restoring the data directory..." --weight=1
ynh_restore_file --origin_path="$data_dir" --not_mandatory
chmod -R o-rwx "$data_dir"
chown -R $app:www-data "$data_dir"
#=================================================
# RESTORE SYSTEM CONFIGURATIONS
#=================================================