1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgserver_ynh.git synced 2024-09-03 20:36:20 +02:00

Fix permissions on venv

This commit is contained in:
Salamandar 2024-08-20 13:35:40 +02:00
parent d248ee34ec
commit 68d0ee5141

View file

@ -16,6 +16,10 @@ install_borg_with_pip() {
BORG_VERSION=$(ynh_app_upstream_version) BORG_VERSION=$(ynh_app_upstream_version)
ynh_exec_as "$app" "$venvpy" -m pip install borgbackup[pyfuse3]=="$BORG_VERSION" ynh_exec_as "$app" "$venvpy" -m pip install borgbackup[pyfuse3]=="$BORG_VERSION"
# Make venv accessible for every user
chmod a+rX "$install_dir"
chmod a+rX -R "$install_dir/venv"
} }
create_ssh_config() { create_ssh_config() {