Re: setgid bit always unset when changing file permissions
I believe our server supports that bit very well, because we use that feature for years now (running Suse enterprise / openSuse).
I believe your server OS does, but your SFTP server does not.
Yes you are right, we were using a openssh 4.6 server, which is know to have this Bug ( https://bugzilla.mindrot.org/show_bug.cgi?id=1310 ). Using another openssh version 5.2 fixes the problem (apparently it has been fixed in 5.1).
Thanks for the help!