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.

Migrating from nginx to OpenBSD's httpd and relayd

Migrating from nginx to OpenBSD's httpd and relayd Written By: Jake Bauer | Posted: 2021-02-17 | Last Updated: 2021-02-17 This logo is subject to the license at: Having set up my mail server on OpenBSD, I've been very satisfied wi…

via - What's New February 17, 2021

Status update, February 2021

Salutations! It's officially a year of pandemic life. I hear the vaccine distribution is going well, so hopefully there won't be another year of this. In the meanwhile, I've been working hard on free software, what with having little else to do. …

via Drew DeVault's blog February 15, 2021

How to make your downstream users happy

There are a number of things that your FOSS project can be doing which will make the lives of your downstream users easier, particularly if you’re writing a library or programmer-facing tooling. Many of your downstreams (Linux distros, pkgsrc, corporate user…

via Drew DeVault's blog February 9, 2021

Generated by openring