Re: Empty Files Created by sftp

Damien Miller <[email protected]> Wed, 1 Jul 2026 14:37:52 +1000 (AEST)
Newsgroups gmane.network.openssh.devel
Message-ID <[email protected]>
On Tue, 30 Jun 2026, Chris Rapier wrote:

> Oh, I'm sure the correct solution is to just use -R but this just seemed 
> weird to me. If it's expected behaviour that's fine.

It's probably the client failing when it tries to do a SSH_FXP_FSTAT
operation to obtain the file's metadata (length and modes).

If you allow "open,write,fstat" then I think it's likely to work.

-d