diff --git a/scripts/upgrade b/scripts/upgrade index f2c9caf..39a9887 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -203,6 +203,7 @@ fi # SECURE FILES AND DIRECTORIES #================================================= +chown -R $app: "$final_path" # Home directory of the user needs to be owned by root to allow # SFTP connections chown root: "$final_path"