Hi!

I develop a windows SSH SFTP client and I'm currently in process of
getting and setting file permissions.

I noticed that my client is unable to set setuid, setgid and sticky bit
on remote file/directories. The reason for that is that in
process_setstat() of OpenSSH sftp-server.c the permission is restricted
to 0777 (instead of 07777). But an ordinary user can set such bits on
files/directories if he is logged in.

Is there a reason to disable these special permissions by the SFTP protocol?

Thanks!
--
h.wulff