osxfuse / sshfs

File system based on the SSH File Transfer Protocol
http://fuse.sourceforge.net
GNU General Public License v2.0
1.14k stars 128 forks source link

Permissions on mounted not set correctly #51

Open drmowinckels opened 5 years ago

drmowinckels commented 5 years ago

In our lab, we have been struggling with permissions set through sshfs when mounting a shared folder for some but not all mac users.

While umask is set to 002 for the users (the desired permission), files created on the mounted disc are set to 033.

Using the -o umask option does not work as expected, as files and folders create look like they now have the correct permissions, but when looking on the server the files are still with 033. Also, when this option is used, running chmod does not alter any permissions. This option seems to not work as intended?

Anyway, we have been struggling, together with University IT, for several months in trying different ways of fixing this issue, with no avail.

Any help is much appreciated.

MacOS 10.14.4 SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0) OSXFUSE 3.8.2 FUSE library version: 2.9.7 bash version 5.0.3(1)

mounted with command:

sshfs user@host.com:/path ~/mountpoint -o auto_cache,reconnect,defer_permissions,noappledouble,negative_vncache,volname=mountfldr