[SFTP] Read from write-only file not returning error

Nikolaus Rath Nikolaus at rath.org
Mon Aug 7 03:38:51 AEST 2017


On Aug 06 2017, Stef Bon <stefbon at gmail.com> wrote:
> Hi,
>
> 2017-08-06 11:29 GMT+02:00 Nikolaus Rath <Nikolaus at rath.org>:
>> Hello,
>>
>
>>
>> Shouldn't the server signal some kind of error instead? Or am I making a
>> mistake in parsing the response?
>
> I shall test this using my sftp fuse fs with the sftp-server.

Out of curiosity, how does your sftp fuse fs differ from SSHFS (which
also uses FUSE and SFTP)?

> The translating of posix open flags into sftp flags and access and
> back on the server is not easy, and if not done as written in the
> rfc's give this behaviour.

Thanks! Looking forward to hear if you can reproduce.

Best,
-Nikolaus
-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


More information about the openssh-unix-dev mailing list