[Borgbackup] Permissions -- I erroneously ran Borg as root; how can I go back to user usage

ldl08 at gmx.net ldl08 at gmx.net
Tue May 30 08:50:36 EDT 2023


Dear Borg friends,

https://borgbackup.readthedocs.io/en/stable/quickstart.html has a clear warning:

"To avoid permissions issues (in your borg repository or borg cache), always access the repository using the same user account.

If you want to backup files of other users or the operating system, running borg as root likely will be required (otherwise you’ld get Permission denied errors). If you only back up your own files, you neither need nor want to run borg as root, just run it as your normal user."

Well, I was trying some stuff out, and as it happens I ran Borg as root. Now I get an error message:

PermissionError: [Errno 13] Permission denied: '/path/to/my/repository'

I can continue to run it as root, but I'd like to go back to the old time. Is that possible, and if so, how?

Thanks for your insights!

David



More information about the Borgbackup mailing list