[Bug 379233] Re: cp preserves mode with --no-preserve=mode
Colin Watson
cjwatson at canonical.com
Wed Nov 28 12:44:09 UTC 2012
This appears to be fixed in 8.20, now on its way into raring. From the
NEWS file:
cp --no-preserve=mode now no longer preserves the original file's
permissions but correctly sets mode specified by 0666 & ~umask
** Changed in: coreutils (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/379233
Title:
cp preserves mode with --no-preserve=mode
Status in The Gnu Core Utilities:
New
Status in “coreutils” package in Ubuntu:
Fix Released
Status in “coreutils” package in Debian:
Fix Released
Bug description:
Binary package hint: coreutils
Example: copying files from CD/vfat/etc. into the filesystem.
The files (all) will keep their executable bit and stay read only.
Even with the --no-preserver=mode option the current umask is ignored
(or only used in a substracting way when creating the new copy),
instead of using the umask for newly created files.
To manage notifications about this bug go to:
https://bugs.launchpad.net/coreutils/+bug/379233/+subscriptions
More information about the foundations-bugs
mailing list