3 Jun 2013 13:47
umask problem
Daniel Möller Montull <d.moller.m <at> gmail.com>
2013-06-03 11:47:15 GMT
2013-06-03 11:47:15 GMT
Dear all, I am trying to mount a folder from a storage server and I have some troubles regarding file permissions. Short: I want a 007 umask. But sshfs applies both the environment umask and a default 022 umask. I thought the commandline option -o umask=007 would solve this but this option only makes every file and directory *seem* to have 770 permissions while the true permissions are the same as if this option was not provided. Rather useless. Is there any clear solution to this? Or is this a server issue and I am complaining to a wrong mail list? I have found some people pointing to modifiy the sftp subsystem config through /etc/ssh/sshd_config but what if I don't have admin acces or a per-user config or even a per-connection config is needed? Maybe sshfs could read ~/.profile to acquire the right umask. But I think the right solution would be the -o umask=007 option to work properly, since theese config files might not exist and a per-connection config may be needed. Thanks -- Dani ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite(Continue reading)
RSS Feed