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

set permissions

This commit is contained in:
Éric Gaspar 2023-02-26 18:54:54 +01:00
parent 8a65fc7e8d
commit f1c47a5942
2 changed files with 6 additions and 4 deletions

View file

@ -45,8 +45,9 @@ path=${path%/}
ynh_add_config --template="../conf/jupyterhub_config.py" --destination="$install_dir/config/jupyterhub_config.py"
ynh_add_config --template="../conf/jupyter_notebook_config.py" --destination="$install_dir/config/jupyter_notebook_config.py"
chown -R root: $install_dir/
chown -R $admin: $install_dir/.venv/
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# SYSTEM CONFIGURATION

View file

@ -76,8 +76,9 @@ path=${path%/}
ynh_add_config --template="../conf/jupyterhub_config.py" --destination="$install_dir/config/jupyterhub_config.py"
ynh_add_config --template="../conf/jupyter_notebook_config.py" --destination="$install_dir/config/jupyter_notebook_config.py"
chown -R root: $install_dir/
chown -R $admin: $install_dir/.venv/
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# START SYSTEMD SERVICE