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

Change file permission

This commit is contained in:
Salamandar 2024-03-21 23:30:26 +01:00
parent a7c9218e63
commit 58feef7a65
3 changed files with 3 additions and 6 deletions

View file

@ -44,8 +44,7 @@ path_no_slash=${path%/}
ynh_add_config --template="jupyterhub_config.py" --destination="$install_dir/config/jupyterhub_config.py" ynh_add_config --template="jupyterhub_config.py" --destination="$install_dir/config/jupyterhub_config.py"
ynh_add_config --template="jupyter_notebook_config.py" --destination="$install_dir/config/jupyter_notebook_config.py" ynh_add_config --template="jupyter_notebook_config.py" --destination="$install_dir/config/jupyter_notebook_config.py"
chown -R root: "$install_dir" chown -R "$app:$app" "$install_dir"
chown -R "$admin:" "$install_dir/venv"
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION

View file

@ -25,8 +25,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir" ynh_restore_file --origin_path="$install_dir"
chown -R root: "$install_dir" chown -R "$app:$app" "$install_dir"
chown -R "$admin:" "$install_dir/venv"
#================================================= #=================================================
# RESTORE SYSTEMD # RESTORE SYSTEMD

View file

@ -53,8 +53,7 @@ path_no_slash=${path%/}
ynh_add_config --template="jupyterhub_config.py" --destination="$install_dir/config/jupyterhub_config.py" ynh_add_config --template="jupyterhub_config.py" --destination="$install_dir/config/jupyterhub_config.py"
ynh_add_config --template="jupyter_notebook_config.py" --destination="$install_dir/config/jupyter_notebook_config.py" ynh_add_config --template="jupyter_notebook_config.py" --destination="$install_dir/config/jupyter_notebook_config.py"
chown -R root: "$install_dir" chown -R "$app:$app" "$install_dir"
chown -R "$admin:" "$install_dir/venv"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD