mirror of
https://github.com/YunoHost-Apps/borgserver_ynh.git
synced 2024-09-03 20:36:20 +02:00
use acl, fix package_check
This commit is contained in:
parent
5db0a7ae07
commit
bd4cd53537
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ install_borg_with_pip() {
|
||||||
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
|
# Make venv accessible for every user
|
||||||
chmod a+rX "$install_dir"
|
setfacl --recursive --modify g:$ssh_user:rwX,d:g:$ssh_user:rwX
|
||||||
chmod a+rX -R "$install_dir/venv"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
create_ssh_config() {
|
create_ssh_config() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue