Search code examples
macosamazon-ec2fusesshfs

SSHFS MacOs Read Only Issue


I've mounted an EC2 instance to my Mac using SSHFS and FUSE. The command I'm using to mount is:

sshfs ec2-user@IP_ADDRESS:/ ~/ec2Server/

It works fine, and I get the FUSE drive and I can see all the files. However, it's read only. How can I give myself read and write permissions?

I've tried changing the permissions with chmod but no joy. Can't seem to find anything on the web.

Thanks in advance! :)


Solution

  • I solved this issue by giving the ec2-user ownership of the folder I wanted to work in:

    sudo chown ec2-user /workplace