Changed slightly the SFTP quote commands chmod, chown and chgrp to only
authorDan Fandrich <dan@coneharvesters.com>
Fri, 11 Jul 2008 04:38:11 +0000 (04:38 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 11 Jul 2008 04:38:11 +0000 (04:38 +0000)
commitb4b6cfdb1cdbac5fe0db690d4a3248f94dcb8446
tree3ea5129be74ae99ec5eed5271cdead0a590ff2f7
parent6b7ccde1567f401018144e9fa9fcaa63616df338
Changed slightly the SFTP quote commands chmod, chown and chgrp to only
set the attribute that has changed instead of all possible ones. Hopefully,
this will solve the "Permission denied" problem that Nagarajan Sreenivasan
reported when setting some modes, but regardless, it saves a protocol
round trip in the chmod case.
CHANGES
lib/ssh.c