GNU bug report logs - #28341
RFE: focusing on source vs. symptoms (reducing duplicate error ouput)

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Sun, 3 Sep 2017 22:08:01 UTC

Severity: wishlist

Merged with 28036

To reply to this bug, email your comments to 28341 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#28341; Package coreutils. (Sun, 03 Sep 2017 22:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to L A Walsh <coreutils <at> tlinx.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 03 Sep 2017 22:08:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: L A Walsh <coreutils <at> tlinx.org>
To: bug-coreutils <at> gnu.org
Subject: RFE: focusing on source vs. symptoms (reducing duplicate error ouput)
Date: Sun, 03 Sep 2017 15:06:49 -0700
(Originally posted w/2 separable issues merged: splitting.)

In copying to a directory from a file system that has no unix
permission bits (from one that does), one gets many duplicate
error messages.  Ex, copying from from a standard linux file
system to a VFAT FS, cp reported:

>  cp -a Valkyrja /l/
cp: preserving permissions for ‘/l/Valkyrja/folder.jpg’: Not supported
cp: preserving permissions for ‘/l/Valkyrja/01 Valkyrja(ヴァルキリア). 
flac’: Not supported
cp: preserving permissions for ‘/l/Valkyrja/02 妖精帝國.flac’: Not 
supported
cp: preserving permissions for ‘/l/Valkyrja/Scans/mo07.jpg’: Not supported
cp: preserving permissions for ‘/l/Valkyrja/Scans/mo05.jpg’: Not supported
cp: preserving permissions for ‘/l/Valkyrja/Scans/mo06.jpg’: Not supported
cp: preserving permissions for ‘/l/Valkyrja/Scans/mo01.jpg’: Not supported
...


If Target file system doesn't support preserving permissions,
it would be more useful to issue 1 error message for the
_source_ of the problem (the directory) than 100's to 1000's of messages
for each failure (symptoms of problem).  Maybe
something along the lines of (w/optional clarification in parens):

>  cp -a Valkyrja /l/
cp: preserving permissions for destination '/l/': Not supported.
   (per-file permissions-Not-supported messages suppressed)

Thanks...
linda






Information forwarded to bug-coreutils <at> gnu.org:
bug#28341; Package coreutils. (Mon, 04 Sep 2017 17:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 28341 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: L A Walsh <coreutils <at> tlinx.org>, 28341 <at> debbugs.gnu.org
Subject: Re: bug#28341: RFE: focusing on source vs. symptoms (reducing
 duplicate error ouput)
Date: Mon, 4 Sep 2017 10:38:25 -0700
L A Walsh wrote:
> If Target file system doesn't support preserving permissions,
> it would be more useful to issue 1 error message for the
> _source_ of the problem (the directory)

That would be more useful in some circumstances. However, I expect some people 
are used to the longstanding behavior, which is more in line with what POSIX 
requires. We could add an option to supress chatter, though.




Forcibly Merged 28036 28341. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 01:11:02 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 09:03:02 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.