GNU bug report logs -
#5775
[PATCH] doc: fix info to say cp -a does _not_ diagnose xattr failures
Previous Next
Reported by: Pádraig Brady <P <at> draigBrady.com>
Date: Fri, 26 Mar 2010 12:07:02 UTC
Severity: normal
Tags: patch
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
Full log
Message #34 received at submit <at> debbugs.gnu.org (full text, mbox):
Pádraig Brady wrote:
> On 11/04/10 19:31, Jim Meyering wrote:
>> Pádraig Brady wrote:
>> ...
>>> Well the patch _reduces_ warnings so that they're only
>>> shown in case 3 above. They should probably also
>>> be output in case 5 also which currently doesn't happen
>>> as explained above.
>>
>> Yes, but I'm convinced that those warnings have some
>> value at least some of the time, so I'm very leery of
>> suppressing them, even if the rules for when they're
>> emitted are inconsistent and hard to describe.
>
> OK fair enough, I'll push this doc clarification soon
> which attempts to better describe what's happening.
...
> commit c420cfef77b9173a754806dc49deacabb436044f
> Author: Pádraig Brady <P <at> draigBrady.com>
> Date: Mon Apr 12 08:46:37 2010 +0100
>
> doc: clarify when cp and mv output xattr warnings
>
> The 2010-03-26 commit, 4c38625e, "doc: fix info on cp --preserve..."
> was not entirely correct as cp --preserve=all does produce some
> xattr warnings.
>
> * src/copy.h: Update and clarify the comments for reduce_diagnostics
> and require_preserve_{xattr,context}.
> * doc/coreutils.texi (cp invocation): Update the -a and
> --preserve=xattr,context options to say when and which
> xattr warnings are output.
> (mv invocation): Mention that some warnings are output
> when preserving xattrs.
Nice work. Thank you.
This bug report was last modified 15 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.