OK, it seems that chgrp clears the UID/GUID permissions. So solution would be to switch order of chmod and chgrp/chown calls.
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
setting UID/GUID works, but changing user/group AND setting UID/GUID doesn't work at the same timeShortly, does it mean that you are not able to set UID and GUID permissions with WinSCP?