Topic: Need a feature to deny user chmod, chown and chgrp

I am using MySecureShell in my web publish server to provide sftp service. I need to deny user chmod, chown and chgrp in sftp client. But can't find a way in configure file.
I really hope to add a feature to limit user chmod, chown and chgrp in sftp client, thanks!


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Re: Need a feature to deny user chmod, chown and chgrp

Hi,

Please look at:
http://mysecureshell.sourceforge.net/en … ights.html
http://mysecureshell.sourceforge.net/en … ibute.html


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 737

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/8/e/mysecureshell/forum/include/parser.php on line 791

Re: Need a feature to deny user chmod, chown and chgrp

It's work! Thank you!

4 (edited by sense 2012-04-09 04:19:17)

Re: Need a feature to deny user chmod, chown and chgrp

Found new problem:
If I use "DisableSetAttribute true", user upload file's modified time will change to the upload time. It can't keep the original modified time. Is that any way to figure out it?

Re: Need a feature to deny user chmod, chown and chgrp

No there is no way.

Re: Need a feature to deny user chmod, chown and chgrp

If I use "DisableSetAttribute true", user upload file's modified time will change to the upload time. It can't keep the original modified time. Is that any way to figure out it?

SANDRELA

Re: Need a feature to deny user chmod, chown and chgrp

Yes, when "DisableSetAttribute" is "true" user can't:
* change time
* change rights
* change owner / groups

Re: Need a feature to deny user chmod, chown and chgrp

I saw a post saying that was a bug . You meant GMT but actually coded UTC ?
Why can't I just use the local OS time ?

Re: Need a feature to deny user chmod, chown and chgrp

This bug is fixed wink

MySecureShell use local time smile