How to make mv -i return non zero status when uses choose n?

2023-01-07 Thread Peng Yu
Hi, When I use mv -i and choose n so that the destination will not be overwritten, the return status is still zero. Is there a way to let mv return nonzero status to reflect that n is chosen by the user? Thanks. -- Regards, Peng

bug#60455: Missing fallback if copy_file_range returns ENOENT?

2023-01-07 Thread Sam James
> On 7 Jan 2023, at 16:25, Pádraig Brady wrote: > > On 07/01/2023 07:34, Sam James wrote: >>> On 31 Dec 2022, at 18:51, Pádraig Brady wrote: >>> >>> On 31/12/2022 17:00, Sam James wrote: Hi folks, Originally reported in Gentoo at https://bugs.gentoo.org/885793. Frank Limpert

bug#60620: [PATCH] copy.c: replace set_acl() with chmod_or_fchmod()

2023-01-07 Thread Paul Eggert
On 2023-01-06 07:23, Ondrej Valousek wrote: - && qset_acl (dst_name, dest_desc, restrictive_temp_mode) != 0) + && chmod_or_fchmod (dst_name, dest_desc, restrictive_temp_mode) != 0) Doesn't this sort of change require the qcopy-acl.c change in Gnulib? If so, we need to wait

bug#60455: Missing fallback if copy_file_range returns ENOENT?

2023-01-07 Thread Pádraig Brady
On 07/01/2023 07:34, Sam James wrote: On 31 Dec 2022, at 18:51, Pádraig Brady wrote: On 31/12/2022 17:00, Sam James wrote: Hi folks, Originally reported in Gentoo at https://bugs.gentoo.org/885793. Frank Limpert reported that when copying large files across CIFS shares, cp may abort