From d442160f55a5d1adbc8b25343be730c6b6ed3584 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 22 Apr 2020 18:20:01 +0200 Subject: [PATCH] set permission to virtualenv folder --- scripts/restore | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index 81c2f9f..815b937 100644 --- a/scripts/restore +++ b/scripts/restore @@ -62,8 +62,8 @@ ynh_restore_file --origin_path="$final_path" #================================================= # Restore permissions on app files -chown -R root: $final_path -chown -R $admin: $final_path/.venv/share +chown -R $admin: $final_path/ +chmod -R 755 $final_path/.venv/ #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index 8187b58..800d116 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -170,8 +170,8 @@ ynh_add_systemd_config #================================================= # Set permissions on app files -chown -R root: $final_path -chown -R $admin: $final_path/.venv/share +chown -R $admin: $final_path/ +chmod -R 755 $final_path/.venv/ #================================================= # SETUP SSOWAT