YunoHost-Apps / borgserver_ynh

Borg server package for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
8 stars 4 forks source link

Rights problems on the borg executable #27

Closed supermamie closed 3 years ago

supermamie commented 4 years ago

/usr/local/bin/borg has a right of 740 Borg user is not in staff group

~ ls -l /usr/local/bin/borg
-rwxr--r-- 1 root staff 69 avril 27 11:28 /usr/local/bin/borg
~ sudo groups borguser
borguser : borguser

For the backup to work, I changed the rights to add exec right for group and added borguser to the staff group.

roukydesbois commented 3 years ago

I had the same issue - although I more brutally did a chmod +x just in case

KvL159 commented 3 years ago

This issue is still there, while using borg command, it'll return an error, permissions and user/group need to be changed

zamentur commented 3 years ago

Fixed in testing https://github.com/YunoHost-Apps/borgserver_ynh/blob/testing/scripts/_common.sh#L26

Thanks for reporting the issue