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:
parent
bd855b925f
commit
d320017d1f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ install_borg_with_pip () {
|
||||||
/opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup==1.1.10
|
/opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup==1.1.10
|
||||||
echo "#!/bin/bash
|
echo "#!/bin/bash
|
||||||
/opt/borg-env/bin/python /opt/borg-env/bin/borg \"\$@\"" > /usr/local/bin/borg
|
/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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue