1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Fix permissions

This commit is contained in:
Kay0u 2020-04-28 19:43:29 +02:00
parent 5106d25bb2
commit f230b12eae
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156
3 changed files with 5 additions and 5 deletions

View file

@ -161,7 +161,7 @@ ynh_store_file_checksum --file="$final_path/config/jupyter_notebook_config.py"
# Set permissions to app files # Set permissions to app files
chown -R root: $final_path/ chown -R root: $final_path/
chown -R $admin: $final_path/.venv/lib chown -R $admin: $final_path/.venv/
#================================================= #=================================================
# ADVERTISE SERVICE IN ADMIN PANEL # ADVERTISE SERVICE IN ADMIN PANEL

View file

@ -62,8 +62,8 @@ ynh_restore_file --origin_path="$final_path"
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chown -R $admin: $final_path/ chown -R root: $final_path/
chmod -R 755 $final_path/.venv/ chown -R $admin: $final_path/.venv/
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION

View file

@ -170,8 +170,8 @@ ynh_add_systemd_config
#================================================= #=================================================
# Set permissions on app files # Set permissions on app files
chown -R $admin: $final_path/ chown -R root: $final_path/
chmod -R 755 $final_path/.venv/ chown -R $admin: $final_path/.venv/
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT