* NEWS: Document fix for cp --preserve=mode.
commitb28a8851ed22dbf0cd123974a0c97ae0b82bec2b
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Feb 2007 17:45:46 +0000 (3 18:45 +0100)
committerJim Meyering <jim@meyering.net>
Sat, 3 Feb 2007 17:45:46 +0000 (3 18:45 +0100)
tree2ee82ce576b7026f2b99268044e627daf203fb81
parent1c73876f5f7973ca41caaf0ce326254b1081713a
* 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.
ChangeLog
NEWS
src/copy.c
src/cp.c
tests/cp/parent-perm-race