coreutils/tests
Paul Eggert e7198a67b8 mkdir: don't assume umask equals POSIX default ACL mask
This fixes Bug#14371, reported by Killer Bassist.
* NEWS: Document this.
* src/mkdir.c (struct mkdir_options): Remove member ancestor_mode.
New member umask_value.  All uses changed.
* src/mkdir.c (make_ancestor): Fix umask assumption.
* src/mkdir.c, src/mkfifo.c, src/mknod.c (main):
Leave umask alone.  This requires invoking lchmod after creating
the file, which introduces a race condition, but this can't be
avoided on hosts with "POSIX" default ACLs, and there's no easy
way with network file systems to tell what kind of host the
directory is on.
* tests/local.mk (all_tests): Add tests/mkdir/p-acl.sh.
* tests/mkdir/p-acl.sh: New file.
2013-05-11 19:22:54 -07:00
..
chgrp maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
chmod maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
chown maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
cp tests: fix usage of require_ulimit_ 2013-04-25 11:13:48 +01:00
dd tests: fix usage of require_ulimit_ 2013-04-25 11:13:48 +01:00
df tests: avoid shared lib tests on unsupported platforms 2013-04-04 03:02:10 +01:00
du tests: avoid false failures on file systems with smaller NAME_MAX 2013-02-20 04:04:00 +00:00
factor maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
fmt maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
id maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
install tests: avoid false failures with non default groups 2013-04-14 01:03:56 +01:00
ln doc: add details on ln --relative symlink resolution 2013-04-04 02:46:52 +01:00
ls tests: avoid shared lib tests on unsupported platforms 2013-04-04 03:02:10 +01:00
misc cut: improve performance, especially with --output-delimiter 2013-05-08 11:51:37 +01:00
mkdir mkdir: don't assume umask equals POSIX default ACL mask 2013-05-11 19:22:54 -07:00
mv maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
pr maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
readlink maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
rm tests: fix usage of require_ulimit_ 2013-04-25 11:13:48 +01:00
rmdir maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
split tests: fix usage of require_ulimit_ 2013-04-25 11:13:48 +01:00
tail-2 tail: exit following by descriptor when no tailable file left 2013-04-20 16:34:23 +02:00
touch maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
Coreutils.pm maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
CuSkip.pm maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
CuTmpdir.pm maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
d_type-check doc: fix typo in test script comment 2011-09-08 22:03:17 +02:00
envvar-check maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
fiemap-capable test: improve the cp fiemap tests 2011-02-08 22:46:25 +00:00
filefrag-extent-compare tests: fix a false positive fiemap test on some file systems 2011-04-13 11:18:48 +01:00
GNUmakefile tests: reenable "make -C tests ..." commands 2012-09-14 10:20:03 +02:00
init.sh maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
lang-default * tests/lang-default (LC_ALL): Set to "C", so we get 2006-08-16 20:11:42 +00:00
local.mk mkdir: don't assume umask equals POSIX default ACL mask 2013-05-11 19:22:54 -07:00
no-perl tests: detect missing perl at configure runtime 2012-08-30 18:55:59 +02:00
other-fs-tmpdir maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00
sample-test maint: update all copyright year number ranges 2013-01-01 04:51:20 +01:00