Files
coreutils/m4
Paul Eggert a4f7b723f0 * NEWS: Document the cp --preserve=ownership fix.
* m4/jm-macros.m4 (coreutils_MACROS): Check for fchmod.
* src/copy.c (fchmod_or_lchmod): New function.
(copy_reg): New arg OMITTED_PERMISSIONS.  All uses changed.
Omit confusing and unused ", dst_mode" arg to 'open' without O_CREAT.
When creating a file, use O_EXCL, so we're more likely to detect
funny business by other processes.  At the end, if permissions
were omitted, chmod them back in.
(copy_internal): If the ownership might change, omit some permissions
at first, then restore them after chowning the file.
* src/cp.c (make_dir_parents_private): Likewise.
* src/copy.c (cached_umask): New function.
* src/copy.h (cached_umask): New decl.
2006-12-06 20:44:08 +01:00
..
2006-08-22 17:42:21 +00:00
2006-10-15 06:17:45 +00:00
2005-07-03 06:52:13 +00:00
.
2005-10-23 15:36:49 +00:00
2006-10-15 06:17:45 +00:00
2005-06-30 20:24:02 +00:00
2005-05-27 20:34:48 +00:00
2005-06-19 08:27:47 +00:00