You are not logged in.

#1 2015-07-16 18:49:55

mkind
Member
Registered: 2012-08-11
Posts: 27

set umask in sshfs

Hi,

basically I have the same problem like them. I tried to set the umask in a sshfs mounted fs but doesn't get it work. What basically happens, is that files created in a sshfs mounted directory have the permission of my local umask, but not the umask I passed the sftp-server in the sshd_config on server-site using the following

Subsystem       sftp    /usr/lib/ssh/sftp-server -u 0007

I also did some experiments with the umask-option of sshfs, but it actually acts as filter and does not overwrite the local umask settings. However, I am a little bit confused, since the '-u' option of the sftp-server looked promising regarding the man page. What am I missing?

Offline

Board footer

Powered by FluxBB