diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-10-18 20:56:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-10-18 20:56:38 +0000 |
commit | 11cf1d39f2fbe2dcfb6d268fd3e2a56334f1d224 (patch) | |
tree | 88f4a779b2d653dea98df29655bbc33eb50a7b6f /ChangeLog | |
parent | f594f1fb387da55159e7591c97e17b76366730c8 (diff) | |
download | coreutils-11cf1d39f2fbe2dcfb6d268fd3e2a56334f1d224.tar.xz |
* src/copy.c (copy_internal): Don't pass mkdir a mode greater than
7777. This matches historical 'cp' behavior and avoids some
(though not all) implementation-defined behavior of mkdir.
* src/cp.c (make_dir_parents_private): Likewise.
* src/copy.c (copy_internal): Don't pass 'open' a mode greater
than 777. This is required by POSIX. It doesn't make any difference
in actual behavior on any host that I know of.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2006-10-18 Paul Eggert <eggert@cs.ucla.edu> + + * src/copy.c (copy_internal): Don't pass mkdir a mode greater than + 7777. This matches historical 'cp' behavior and avoids some + (though not all) implementation-defined behavior of mkdir. + * src/cp.c (make_dir_parents_private): Likewise. + * src/copy.c (copy_internal): Don't pass 'open' a mode greater + than 777. This is required by POSIX. It doesn't make any difference + in actual behavior on any host that I know of. + 2006-10-17 Jim Meyering <jim@meyering.net> * src/dd.c (usage): Use two spaces (not one) to separate the |