GNU bug report logs - #28036
cp: suppress duplicated errors, silence errors completely

Previous Next

Package: coreutils;

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

Date: Thu, 10 Aug 2017 12:12:01 UTC

Severity: wishlist

Merged with 28341

To reply to this bug, email your comments to 28036 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#28036; Package coreutils. (Thu, 10 Aug 2017 12:12: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. (Thu, 10 Aug 2017 12:12:02 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: less duplicate error messages and adding '-F' to recover lost
 behaviors...?
Date: Thu, 10 Aug 2017 05:11:02 -0700
Two related things...

Tried to copy a dir from my linux Music folder to my portable player.
Linux uses XFS.  Player uses VFAT.


Wanted to copy all available & supported meta info from source to dir,

cp -af
>  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
...

1) If Target file system doesn't support preserving permissions,
is it really necessary to display the problem with the target
filesystem with each item copied?


2) It used to be that 'f' silenced such errors, but posix redefined
the switch's behavior to no longer do that.  So... how about
adding the behavior(s) back with a 'F' switch, to attempt to a) force
the copy, b) silence errors, and perhaps, even, c) ignore errors and
continue running as though the errors didn't occur?


Thanks...
linda







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 01:05:01 GMT) Full text and rfc822 format available.

Changed bug title to 'cp: suppress duplicated errors, silence errors completely' from 'less duplicate error messages and adding '-F' to recover lost behaviors...?' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 01:05:01 GMT) Full text and rfc822 format available.

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 232 days ago.

Previous Next


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