1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00
This commit is contained in:
ericgaspar 2021-05-22 13:38:36 +02:00
parent 793bff9393
commit 330526a225
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 6 deletions

View file

@ -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/
#=================================================

View file

@ -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/
#=================================================

View file

@ -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/
#=================================================