bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cp --no-preserve=mode


From: Andreas Schwab
Subject: cp --no-preserve=mode
Date: Thu, 13 Feb 2003 13:20:11 +0100
User-agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (ia64-suse-linux)

When the destination file does not exist cp uses the permissions of the
source file for creating the destination, as specified by POSIX.  Wouldn't
it be useful if --no-preserve=mode would cause cp to use the default
permissions (ie. 0666 - umask) instead?

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N├╝rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]