chmod sftp command and setgid/setuid bit
Darren Tucker
dtucker at zip.com.au
Fri Apr 27 09:32:29 EST 2007
Chris Rapier wrote:
> Darren Tucker wrote:
>> It's filexfer draft 3. There's no RFC for sftp.
>>
>> http://tools.ietf.org/html/draft-ietf-secsh-filexfer-03
Correction: that draft is sftp protocol version 4. Right now, according to
"version" OpenSSH supports protocol version 3 which is filexfer-02.
> I had been reading filexfer-13 - this one is much more straightforward.
The other fun thing is that if a client reports that it implements filexfer-13, it
must also handle 1-12 as well. During protocol initialization, the client tells
the server what version it's using then the server replies with the lower of
whatever it and the client support. After that they both must use whatever
version the server selected.
The upshot is that if the client claims to support v13, it must be prepared to
process any lower version too; there's no way for the client to say "I support
1,2,3 or 13". (Within a single session, that is. In this example the client could
potentially try 13 then abort if the server selects 4-12 and retry with 3 but
that's kinda ugly.)
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list