GNU Core Utilities - Bugs: bug #27146, cp --no-preserve=mode is...
You are not allowed to post comments on this tracker with your current authentication level.
bug #27146: cp --no-preserve=mode is counter-intuitive
Submitter: | None | ||
Submitted: | Thu 30 Jul 2009 11:57:13 PM UTC | ||
Votes: | 70 | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Sun 13 Jan 2013 10:42:38 PM UTC, comment #4: |
Pádraig Brady <pixelbeat>![]() |
Sat 13 Feb 2010 10:34:42 PM UTC, comment #3: On second thought, instead of a new option, I'd like an environment variable that I could set system-wide and then forget about. The same environment variable could be recognized by cp, tar, rsync, and similar programs. How about CP_IGNORE_SOURCE_PERMS? Should POSIXLY_CORRECT override it?
|
Matt McCutchen <hashproduct> |
Mon 01 Feb 2010 04:10:59 AM UTC, comment #2: I've modified cp on my system based on a patch found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488024
|
Mark Tiefenbruck <markt> |
Sat 28 Nov 2009 03:28:05 AM UTC, comment #1: I agree with this argument that --no-preserve=mode is merely the opposite of --preserve=mode and should not activate completely new behavior.
|
Matt McCutchen <hashproduct> |
Thu 30 Jul 2009 11:57:13 PM UTC, original submission:
Currently cp option --no-preserve=mode behavior is counter-intuitive. What one would expect is that --no-preserve=mode should set mode to (0666 & ~umask). See below for a shell transcript (coreutils 7.4).
|
Anonymous |
Depends on the following items: None found
Items that depend on this one: None found
There are 70 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-09-09 | chewi | Carbon-Copy | - | ![]() |
Added chewi |
2013-01-13 | pixelbeat | Open/Closed | Open | ![]() |
Closed |
2012-08-07 | mjo | Carbon-Copy | - | ![]() |
Added mjo |
2010-02-01 | markt | Attached File | - | ![]() |
Added coreutils-fix-no-preserve-mode.diff, #19587 |
2009-11-27 | hashproduct | Carbon-Copy | - | ![]() |
Added hashproduct |
Powered by Savane 3.12.
Corresponding source code
Fixed with these:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=24ebca6
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=6254357