Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sudo need on client #2

Open
u1735067 opened this issue Mar 25, 2018 · 1 comment
Open

Remove sudo need on client #2

u1735067 opened this issue Mar 25, 2018 · 1 comment

Comments

@u1735067
Copy link
Owner

Using method described at https://restic.readthedocs.io/en/stable/080_examples.html#full-backup-without-root

@u1735067
Copy link
Owner Author

u1735067 commented Mar 25, 2018

https://github.com/borgbackup/borg/pull/1183

Maybe we could add something to docs or faq about running borg as non-root, with partial root capabilities?

That would be great 😛

https://github.com/borgbackup/borg/issues/2125

You would need to use setcap cap_dac_read_search+ep for this to work, however, this needs to be done on the python3 binary, not borg, or borgmatic wrapper etc.

I'm not sure, but as BBBS is using the self-extracting borg package and not the system-wide borg (which install python & borg module), the cap might be preserved on the child extracted binary (need to RTFM).

Edit, note to self: maybe avoid being referenced in other projects when that's not useful 😕 (possible while keeping the link?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant