diff --git a/scripts/upgrade b/scripts/upgrade index ad92c46..9f9408c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -177,8 +177,8 @@ ynh_store_file_checksum --file="$final_path/CONFIG_FILE" # SECURE FILES AND DIRECTORIES #================================================= -# Set permissions on app files chown -R root: $final_path -chown -R $app: $final_path +# Set permissions on app files chown -R $app: $final_path +chown -R root: $final_path #================================================= # SETUP LOGROTATE