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:
parent
19e5ca74ef
commit
1a0f985e51
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue