diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2007-02-03 18:45:46 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-02-03 18:45:46 +0100 |
commit | b28a8851ed22dbf0cd123974a0c97ae0b82bec2b (patch) | |
tree | 2ee82ce576b7026f2b99268044e627daf203fb81 /gl | |
parent | 1c73876f5f7973ca41caaf0ce326254b1081713a (diff) | |
download | coreutils-b28a8851ed22dbf0cd123974a0c97ae0b82bec2b.tar.xz |
* NEWS: Document fix for cp --preserve=mode.
* src/copy.c (copy_internal): Omit the group- or other-writeable
permissions when creating a directory, to avoid a race condition
if the special mode bits aren't right just after the directory is
created.
* src/cp.c (make_dir_parents_private): Likewise.
* tests/cp/parent-perm-race: Test for the "cp --preserve=mode"
race fix in copy.c.
Diffstat (limited to 'gl')
0 files changed, 0 insertions, 0 deletions