sshfs icon indicating copy to clipboard operation
sshfs copied to clipboard

Permissions on mounted not set correctly

Open drmowinckels opened this issue 6 years ago • 0 comments

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 [email protected]:/path ~/mountpoint -o auto_cache,reconnect,defer_permissions,noappledouble,negative_vncache,volname=mountfldr

drmowinckels avatar Apr 11 '19 13:04 drmowinckels