简体   繁体   中英

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! :)

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

sudo chown ec2-user /workplace

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM