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

Fix rights

This commit is contained in:
yalh76 2021-03-10 22:07:22 +01:00
parent 19e5ca74ef
commit 1a0f985e51
3 changed files with 3 additions and 3 deletions

View file

@ -164,7 +164,7 @@ done
ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R $app:root $final_path
chown -R $app:www-data $final_path
chmod o=--- $final_path
#=================================================

View file

@ -72,7 +72,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files
chown -R $app:root $final_path
chown -R $app:www-data $final_path
chmod o=--- $final_path
#=================================================

View file

@ -156,7 +156,7 @@ done
ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files
chown -R $app:root $final_path
chown -R $app:www-data $final_path
chmod o=--- $final_path
#=================================================