diff --git a/scripts/install b/scripts/install index d84d915..ab70caf 100644 --- a/scripts/install +++ b/scripts/install @@ -161,7 +161,7 @@ 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 $admin: $final_path/.venv/ #================================================= # ADVERTISE SERVICE IN ADMIN PANEL diff --git a/scripts/restore b/scripts/restore index c523967..38823a0 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 $admin: $final_path/ -chmod -R 755 $final_path/.venv/ +chown -R root: $final_path/ +chown -R $admin: $final_path/.venv/ #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index 826461e..544245a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -170,8 +170,8 @@ ynh_add_systemd_config #================================================= # Set permissions on app files -chown -R $admin: $final_path/ -chmod -R 755 $final_path/.venv/ +chown -R root: $final_path/ +chown -R $admin: $final_path/.venv/ #================================================= # SETUP SSOWAT