Displaying 1 result from an estimated 1 matches for "ssh_fxf_write".
Did you mean:
ssh2_fxf_write
2017 Aug 06
3
[SFTP] Read from write-only file not returning error
...am investigating a data-loss bug in SSHFS
(https://github.com/libfuse/sshfs/issues/72). While the root cause is in
SSHFS and has already been fixed, there seems to be some unfortunate
interaction with what I believe is an OpenSSH bug:
As far as I can tell, when sending a SSH_FXP_OPEN request with
SSH_FXF_WRITE (i.e., opening the file write only), and then following up
with a SSH_FXP_READ, the server responds with a SSH_FXP_STATUS
indicating that all data has been read.
Shouldn't the server signal some kind of error instead? Or am I making a
mistake in parsing the response?
Thanks,
-Nikolaus
--
GP...