]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Tue, 31 Oct 2000 19:26:32 +0000 (19:26 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 31 Oct 2000 19:26:32 +0000 (19:26 +0000)
old/fileutils/ChangeLog

index b964cc1d5d07f3b738fd97ffe309ecc2c7209458..5e24fcabf2fd65931e91274cb987502c30987acf 100644 (file)
@@ -1,5 +1,15 @@
 2000-10-31  Jim Meyering  <meyering@lucent.com>
 
+       `mkdir -p' would create parent directories with permissions
+       that did not account for the umask. [introduced with the
+       2000-09-30 change that became part of fileutils-4.0.28]
+       * src/mkdir.c: Include dirname.h.
+       Compute the parent directory `mode' unconditionally, effectively
+       as `$(umask -S),u+wx'.
+       Use make_path to create only the parent directories, thus using
+       the same code, both with and without -p, to create the final
+       component in each file name.  Reported by Bob Proulx.
+
        * tests/cp/cp-parents: Add some permission tests.
 
        * tests/mkdir/perm: Fix the test so it actually does something.