Ssh – Permissions issues with mounting remote server into a specific folder

mountpermissionssshfs

I'm doing the following to mount a remote server to a specific path on my server:

sshfs user@remoteserver.com:/backup/folder/ /home/myuser/server-backups/

However when I mount the server the folder permissions change (they become 700), and when I test my rsnapshot.conf file I get the following error:

snapshot_root /home/myuser/server-backups/ - snapshot_root exists \
         but is not readable

What am I doing wrong ? should I mount the remote server with another user ?

Best Answer

FUSE has options to control who has access to the files. I'm guessing you want sshfs -o allow_other.

Related Question