Permission issue when mounting SSHFS

807 views
Skip to first unread message

Jason Murphy

unread,
Aug 23, 2020, 11:56:00 PM8/23/20
to OSXFUSE
Hi folks, wondering if you could please help? I'm running OS X Catalina 10.15.6 and have had a lot of trouble mapping an older NAS drive with SMB. As a solution, I enabled SSH on the NAS drive, installed Fuse for Mac 3.1.1.0 and SSHFS 2.5.0.

To mount a drive on the NAS drive, I'm using this command:

sshfs -o volname=[name] [username]@[NAS:/path/to/folder [local mount path]

Username on the Mac differs to username on the NAS, but NAS user has full read/write permissions to the NAS drive share.

I'm able to mount and read the NAS volume, but I cannot write. Error message is:
'The operation can’t be completed because you don’t have permission to access some of the items.'

Does anyone any suggestions? Thanks.
Message has been deleted

Germaine

unread,
Oct 13, 2020, 7:15:35 PM10/13/20
to OSXFUSE
What has worked for me is adding:

-o allow_other,defer_permissions


Now, that is for actual sshfs (so, just ssh really, so far as I understand it.)


Why you do you use anything for Samba ?  (It is Samba ? Or some SSH-Samba? pardon my ignorance.)

Finder mounts SAMBA properly, through `Go > Connect to Server...'


For my case: I don't know what is up.  I am 99.3% certain that it used to work perfectly w/o passing any options.  Now, I am also passing a uid/gid.  Not sure whether I really have to.



Best of luck!


-- 

Germain

Jason Murphy

unread,
Oct 14, 2020, 4:31:07 PM10/14/20
to 'Germaine' via OSXFUSE

Thanks Germaine,

Yes, confirming the -o switch has worked for me also. Thanks!

--
You received this message because you are subscribed to a topic in the Google Groups "OSXFUSE" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osxfuse-group/iquOzxxizjQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osxfuse-grou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osxfuse-group/abcc99da-5697-42d7-b6dd-ad72bb55ecbco%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages