So as a non-root user I can open the drive, I can add files and changes files on it (that are outside of the backup). But for some reason I don’t seem to be able to run restic mount
on it as a non-root (note that I can run restore as a non-root user), this is the error that I get this time (after changing the filesystem of the external drive):
$ restic -r /run/media/user/BackupUSB/backup/ mount /mnt/restic-dir
enter password for repository
repository xxxxx opened successfully, password is correct
fusermount: exit status 1
also, the following messages were logged by a library:
mount helper error: fusermount: failed to chdir to mountpoint: Permission denied
unable to unmount (maybe already unmounted?): exit status 1: fusermount: entry for /mnt/restic-dir not found ion /etc/mtab
I can however mount the backup if I run restic
with a sudo
.