From 8afa3c250a6ed02a85e01a5a022582b966c06c8e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Jun 2021 14:04:22 +0200 Subject: [PATCH] Fix --- scripts/install | 6 +++--- scripts/upgrade | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index f4c4ecb..2ab6455 100644 --- a/scripts/install +++ b/scripts/install @@ -286,9 +286,9 @@ mkdir -p "public/forum" cd public/forum && ln -s ../uploads && ln -s ../backups ) -# chmod 750 "$final_path" -# chmod -R o-rwx "$final_path" -# chown -R $app:www-data "$final_path" +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" #================================================= # SETUP LOGROTATE diff --git a/scripts/upgrade b/scripts/upgrade index f6c6732..cf9b7e4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -336,10 +336,10 @@ mkdir -p "$final_path/tmp/sockets" fi ) -# # Set permissions to app files -# chmod 750 "$final_path" -# chmod -R o-rwx "$final_path" -# chown -R $app:www-data "$final_path" +# Set permissions to app files +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" #================================================= # SETUP LOGROTATE