Hi,
I'm trying to set up a fixed mount point for borg in /etc/fstab, as described here:
To allow a regular user to use fstab entries, add the user option:
/path/to/repo /mnt/point fuse.borgfs defaults,noauto,user 0 0
So I did that and what I got was:
$ mount /mnt/point /mnt/point: Mountpoint must be a writable directory
Okay, so I added a chown user:user /mnt/point
to make the mount point owned by and thus writable for the user.
Now it's like:
$ mount /mnt/point Error: Permission denied
And I'm stumped. Permission denied? Permission for what? Why can't error messages be more specific...
I can mount it successfully using borg mount /path/to/repo /mnt/point
command, so all permissions should already be in order anyway. So I can work around the issue, but I would very much prefer to have the simple mount /mnt/point
command work and have the fstab entry handle the borg side of things for me.
So I'm not sure where it fails. I tried to strace the mount command and I see it trying to create all sorts of files in /root/.config/...
but I'm not sure if that's related to anything.
Anyone has any clue?
I'm using borg 1.1.17 in Arch Linux.