I changed computers, and now I have trouble getting sshfs to work again.
Using the command sshfs user@server:/home/user/ /mnt/server
fails with an:
fusermount3: mount failed: Operation not permitted.
When I run the command with a preceeding sudo
, it works - but that's somewhat beside the point. This used to work without using sudo.
This used to work on my older machine, which was also running Ubuntu 22.04. However, it's been a while since I set the old machine up, so I guess I may have forgotten something.
The mount-directory /mnt/server belongs to my current user, both as owner and with the group.
Simply logging in using ssh works, i.e., using ssh user@server
. So, what is the operation that is not permitted?