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

Protect final_path

This commit is contained in:
ericgaspar 2021-04-29 22:36:48 +02:00
parent 1c69e0a006
commit 6f5aece5e0
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 0 deletions

View file

@ -119,6 +119,8 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R $app: $final_path
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
#=================================================
# SETUP SSOWAT

View file

@ -72,6 +72,8 @@ ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files
chown -R $app:$app $final_path
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION

View file

@ -170,6 +170,8 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files
chown -R $app: $final_path
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
#=================================================
# RELOAD NGINX