mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Fix
This commit is contained in:
parent
793bff9393
commit
330526a225
3 changed files with 3 additions and 6 deletions
|
@ -140,8 +140,7 @@ ynh_add_config --template="../conf/jupyter_notebook_config.py" --destination="$f
|
|||
|
||||
# Set permissions to app files
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chown -R root: $final_path/
|
||||
chown -R $admin $final_path/.venv/
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -71,8 +71,7 @@ ynh_system_user_create --username=$app
|
|||
|
||||
# Restore permissions on app files
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chown -R root: $final_path/
|
||||
chown -R $admin $final_path/.venv/
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -149,8 +149,7 @@ ynh_add_systemd_config
|
|||
|
||||
# Set permissions on app files
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chown -R root: $final_path/
|
||||
chown -R $admin $final_path/.venv/
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue