Subject: Re: nncp-file on directory fails when directory contains symlinks

From: Sergey Matveev <[email-masked]>
Date: Tue, 25 Jan 2022 21:36:46 +0300

Greetings!

*** John Goerzen [2022-01-25 07:58]:
>I discovered the reason: the presence of even one symlink in a directory
>caused the operation to fail; a file would be left in the tmp directory
>and nothing would be sent.

Thanks for the bug report! Indeed the error variable was shadowed,
so it was not even reported to the user. I also skip any non-regular
file during that pax-archive creation. Only directories and regular
files will be included. If someone wants any other type of files,
keeping permissions, ownership, ACLs, flags, hardlinks, xattrs, etc,
then external tar invocation must be used (that is less a problem now
because of streaming encrypted packets format).

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF