YunoHost-Apps / borg_ynh

An experimental Borg implementation for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
19 stars 25 forks source link

borg : /etc/sudoers.d/borg is owned by uid 995, should be 0 ; TTY=unknown ; PWD=/ ; USER=root #118

Closed xoddark closed 2 years ago

xoddark commented 2 years ago

Describe the bug

After installing Borg Backup application (with webadmin) I received email with the content : borg : /etc/sudoers.d/borg is owned by uid 995, should be 0 ; TTY=unknown ; PWD=/ ; USER=root ;

Backup is not done, and borg service is not started.

Context

Steps to reproduce

File /etc/sudoers.d/borg is owned by user "borg" instead of be owned by root ?

Expected behavior

The application should work after installation

shukon commented 2 years ago

I experienced the same thing on two VPS's and one local Yunohost. pkexec chown root:root /etc/sudoers /etc/sudoers.d -R fixed it for me, though if it's the right solution.

tituspijean commented 2 years ago

Related issue on the forum: https://forum.yunohost.org/t/backup-yunohost-with-borg-to-synology/18857

artybdrlt commented 2 years ago

Same problem here! Will it be fixed in a future release?