[Bug 13445] Fuzzy searching in link-dest tries to open regular file as directory

samba-bugs at samba.org samba-bugs at samba.org
Mon May 21 17:27:44 UTC 2018


--- Comment #4 from Einhard Leichtfuß <alguien at respiranto.de> ---
Did I understand correctly that you were able to reproduce this in a notably
different way?

I had not sufficiently examined the code to see that in all the other cases
the existance of a directory is made sure before.  At least under this
precondition, I like your idea to add such a flag.

However, wouldn't it then be consequent to also use flags in order to say
when a file may not exist at all?  Again, I have not thoroughly read the
whole code, however I presume there are cases (also, if !am_sender) where
the existance of a file (being a directory) is assumed and a violation of
this assumption causes trouble and hence should not be ignored.

You are receiving this mail because:
You are the QA Contact for the bug.

More information about the rsync mailing list