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:
parent
5106d25bb2
commit
f230b12eae
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue