Humaid AlQassimi

< Go back

Resolving Permission Errors with Borg Mounts

Aug 16, 2020 · 1 min read

I use Borg to compress, encrypt, and deduplicate my backups, and it has been working really well. Recently, I was trying to retrieve some files and got the following error messages:

...
cp: cannot open '/path/to/borg/mount/file.txt' for reading: Permission denied
...

After reading documentation, the solution I found for this issue is to provide mount options to Borg, setting the permission of the files mounted.

borg mount -o uid=$UID,umask=077 /mnt/drive/borg::my-backup borg-mnt

This resolved the issues.


Would like to comment on the blog post? Feel free to start a discussion on my public general mailing list.

Articles from blogs I follow around the net

You can also read my newsfeed.

Linux development is distributed - profoundly so

The standard introduction to git starts with an explanation of what it means to use a “distributed” version control system. It’s pointed out that every developer has a complete local copy of the repository and can work independently and offline, often contra…

via Blogs on Drew DeVault's blog September 2, 2020

Why IRC is Still Good in $CURRENT_YEAR

Why IRC is Still Good in $CURRENT_YEAR Written By: Jake Bauer | Posted: 2020-08-30 | Last Updated: 2020-08-30 XKCD Comic #1782: Team Chat (CC-BY-NC 2.5) Similar to how I think e-mail is still the best discussion platform, I think there is still a solid plac…

via paritybit.ca - What's New August 30, 2020

BTW, I Use Arch

BTW, I Use Arch Written By: Jake Bauer | Posted: 2020-08-29 | Last Updated: 2020-08-29 Okay, the title isn’t exactly 100% accurate; I’m actually using Artix Linux, an Arch Linux derivative which offers a choice regarding init systems (between OpenRC, runit,…

via paritybit.ca - What's New August 29, 2020

Generated by openring