From 1a24e5af191fccb92b56363731128e972d4bff54 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 28 Apr 2020 09:25:50 +0200 Subject: [PATCH] fix permissions --- scripts/install | 4 ++-- scripts/restore | 4 ++-- scripts/upgrade | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index d84d915..6c7b420 100644 --- a/scripts/install +++ b/scripts/install @@ -160,8 +160,8 @@ ynh_store_file_checksum --file="$final_path/config/jupyter_notebook_config.py" #================================================= # Set permissions to app files -chown -R root: $final_path/ -chown -R $admin: $final_path/.venv/lib +chown -R root: $final_path +chown -R $admin: $final_path/.venv #================================================= # ADVERTISE SERVICE IN ADMIN PANEL diff --git a/scripts/restore b/scripts/restore index f1a48e7..49afef2 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/lib +chown -R root: $final_path +chown -R $admin: $final_path/.venv #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index 334f435..b1abbbe 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/lib +chown -R root: $final_path +chown -R $admin: $final_path/.venv #================================================= # SETUP SSOWAT