Sample Header Ad - 728x90

sshfs mounts share in read-only mode

2 votes
2 answers
5399 views
I need to mount a share using sshfs. When I mount it using sshfs directly, i.e. # sshfs martin@192.168.1.10:/home/data/ -o allow_other /mnt/data/ or # sshfs martin@192.168.1.10:/home/data/ -o allow_other,default_permissions /mnt/data/ the share is mounted, but only in "read-only" mode. However when I add following line into /etc/fstab, and do mount /mnt/data, then the share is mounted read-write. # martin@192.168.1.10:/home/data/ /mnt/data fuse.sshfs noauto,_netdev,allow_other,default_permissions 0 0 Both commands are issued unde root. Why does sshfs from the command line mount the filesystem read-only? How can I mount it read-write using the sshfs command?
Asked by Martin Vegter (586 rep)
Nov 1, 2015, 08:07 AM
Last activity: May 3, 2025, 08:35 PM