mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
Fix
This commit is contained in:
parent
5676bf7f32
commit
d8ddaf1a80
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue