From 11cf1d39f2fbe2dcfb6d268fd3e2a56334f1d224 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 18 Oct 2006 20:56:38 +0000 Subject: * 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. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2ddf574b4..1ecc61ca4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-10-18 Paul Eggert + + * 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 * src/dd.c (usage): Use two spaces (not one) to separate the -- cgit v1.2.3-70-g09d2