[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27146] cp --no-preserve=mode is counter-intuitive
From: |
Mark Tiefenbruck |
Subject: |
[bug #27146] cp --no-preserve=mode is counter-intuitive |
Date: |
Mon, 01 Feb 2010 04:10:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100129 Gentoo Firefox/3.6 |
Follow-up Comment #2, bug #27146 (project coreutils):
I've modified cp on my system based on a patch found here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488024
The problem was (besides that it didn't apply anymore for trivial reasons)
that it set the execute bits on every file. I've made it so that it only sets
the execute bits that were set in the source file but otherwise complies with
the umask.
I understand this may not be desirable for some use cases, since the
annoyance is that certain filesystems set the execute bits on every file. I
also understand that the coreutils devs are never going to make the
--no-preserve=mode option do something reasonable due to POSIX. I would
suggest adding a new option in order to provide this behavior, as well as some
control over execute bits.
(file #19587)
_______________________________________________________
Additional Item Attachment:
File name: coreutils-fix-no-preserve-mode.diff Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27146>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #27146] cp --no-preserve=mode is counter-intuitive,
Mark Tiefenbruck <=