bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65599: mv and cp give a pointless warning when moving/copying a dire


From: Paul Eggert
Subject: bug#65599: mv and cp give a pointless warning when moving/copying a directory
Date: Fri, 1 Sep 2023 07:12:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

Thanks for the followup. I looked into fixing it in Gnulib and it appears that this would require an extra syscall (or maybe even two) per file when copying to a CIFS filesystem, which I'd rather avoid. So I'm leaning more towards working around the bug in coreutils. Before doing that, it'd be helpful to know whether the bug is limited to fchownat or (as I suspect) applies also to the other chown variants. Could you try running the attached program on your platform, to see whether the bug affects these other variants?

Also, could you let us know the kernel and glibc version? The bug should be documented in gnulib/doc, I'd think. (Plus, reported to the Linux and/or glibc maintainers....)

Attachment: fchownat-test.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]