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

chmod/chown install_dir in restore

This commit is contained in:
Chris Vogel 2024-04-23 20:11:26 +02:00
parent 7d3b175835
commit 0e28012847

View file

@ -43,6 +43,8 @@ systemctl status couchdb
# RESTORE THE APP MAIN DIR
ynh_script_progression --message="Restoring the app main directory..." --weight=10
ynh_restore_file --origin_path="$install_dir"
chmod -R 644 $install_dir
chown -R root:$app $install_dir
# RESTORE THE DATA DIRECTORY
ynh_script_progression --message="Restoring the data directory..." --weight=1