Topic: MinimumRights not respected

Hi,

we had MySecureShell-1.20 installed and problems with the sftp server not respecting the
  MinimumRights
option set in sftp_config.

Setting umask manually from shell, or at the "sftp" prompt with lumask did not help.
After some research in the sourcecode we found out that setting "umask(000)" before calling "open()" or "mkdir()" resulted in the correct permissions applied.

Additionally, the config value for the minimum directory permissions was not used.
The option-hash was set with the key "MinimumRightsDir", and the value was tried to be retrieved with "MinimumRightsDirectory".

You can see the changes we made, after which it seems to work, in this diff:
http://pastebin.com/gVXUK5VV

What are your opinions about this?

Re: MinimumRights not respected

Hi,

Thank you for your help !
Bugs are fixed and CVS on SourceForge is updated wink