On 2025-05-24 00:51, Peter Dyballa wrote:
You are saying that the GNUlib function target_directory_operand() is known to fail when the target of cp or mv is a file? So I do not need to debug further?
No, I'm saying that target_directory_operand is supposed to fail if it's given the name of a regular file. (It should succeed only on directories.) You're reporting that it succeeded, which means there's something wrong here.