1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00
This commit is contained in:
ericgaspar 2021-04-24 12:44:42 +02:00
parent 5676bf7f32
commit d8ddaf1a80
2 changed files with 4 additions and 4 deletions

View file

@ -189,9 +189,9 @@ ynh_add_systemd_config
ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R $app:$app $final_path
chown -R $app:$app $public_path
chmod 750 $public_path
chown -R $app:www-data $final_path
chown -R $app:www-data $public_path
chmod 755 $public_path
#=================================================
# SETUP LOGROTATE

View file

@ -74,7 +74,7 @@ ynh_restore_file --origin_path="$final_path"
ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files
chown -R $app:$app $final_path
chown -R $app:www-data $final_path
#=================================================
# SPECIFIC RESTORATION