Setting setuid, setgid and sticky bit by SFTP protocol
- From: "h.wulff" <zuhause@xxxxxxx>
- Date: Sun, 15 Jul 2007 11:07:32 +0200
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
.
- Prev by Date: Re: Use putty as command console for Windows Vista
- Next by Date: Control Ethernet switch from script using SSH
- Previous by thread: Use putty as command console for Windows Vista
- Next by thread: transmission error
- Index(es):
Relevant Pages
|
|