diff --git a/scripts/install b/scripts/install index 6f05f87..cf19625 100644 --- a/scripts/install +++ b/scripts/install @@ -118,6 +118,7 @@ ynh_app_setting_set --app=$app --key=data_path --value=$data_path mkdir -p $data_path chown -R $app: $data_path chown -R $app: $final_path +chmod o-rwx $final_path #================================================= # SETUP APPLICATION diff --git a/scripts/restore b/scripts/restore index 1ca08a6..7ddb5f8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,6 +77,7 @@ ynh_script_progression --message="Restoring user rights..." # Restore permissions on app files chown -R $app: $final_path chown -R $app: $data_path +chmod o-rwx $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index cf1a4e0..8ffdb0a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -165,6 +165,7 @@ ynh_script_progression --message="Securing files and directories..." --weight=1 # Set permissions on app files chown -R $app: $data_path chown -R $app: $final_path +chmod o-rwx $final_path #================================================= # RELOAD NGINX