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

[fix] Permission issue to run borg as simple user

This commit is contained in:
ljf (zamentur) 2020-02-27 17:27:04 +01:00 committed by GitHub
parent bd855b925f
commit d320017d1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ install_borg_with_pip () {
/opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup==1.1.10
echo "#!/bin/bash
/opt/borg-env/bin/python /opt/borg-env/bin/borg \"\$@\"" > /usr/local/bin/borg
chmod u+x /usr/local/bin/borg
chmod a+x /usr/local/bin/borg
fi
}