Empty Files Created by sftp
Damien Miller
djm at mindrot.org
Wed Jul 1 14:37:52 AEST 2026
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
More information about the openssh-unix-dev
mailing list