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.

A few ways to make money in FOSS

I work on free and open-source software full time, and I make a comfortable living doing it. And I don’t half-ass it: 100% of my code is free and open-source. There’s no proprietary add-ons, no periodic code dumps, just 100% bona-fide free and open source so…

via Drew DeVault's blog November 20, 2020

We can do better than DuckDuckGo

DuckDuckGo is one of the long-time darlings of the technophile’s pro-privacy recommendations, and in fact the search engine that I use myself on the daily. They certainly present a more compelling option than many of the incumbents, like Google or Bing. Even…

via Drew DeVault's blog November 17, 2020

Gemini is Up and Running

Gemini is Up and Running Written By: Jake Bauer | Posted: 2020-11-02 | Last Updated: 2020-11-02 This post is also available on Gemini. The Gemini protocol is a new “small Internet” protocol which aims to sit in between Gopher and the HTTP-based Web in terms …

via paritybit.ca - What's New November 2, 2020

Generated by openring