diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-05-18 04:24:13 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2016-05-18 04:24:13 +0200 |
commit | c6772a958800de064482634f77c20a0faafc5af6 (patch) | |
tree | 0e6e6709a517aeabcbd1d8e3d1cf5fd56496a5ce | |
parent | 01b130542b6b58ce77d3dc1b18138bd82f4089d1 (diff) | |
download | acl-c6772a958800de064482634f77c20a0faafc5af6.tar.gz |
permissions.test: Fix umask
The root/permissions test can fail if run by a root user with umask 077,
because the "d" temporary directory ends up unreadable/unexecutable by
bin or daemon.
Reported anonymously on Savannah: http://savannah.nongnu.org/bugs/?47949
-rw-r--r-- | test/root/permissions.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/root/permissions.test b/test/root/permissions.test index 665339a..8f8f825 100644 --- a/test/root/permissions.test +++ b/test/root/permissions.test @@ -15,6 +15,7 @@ Cry immediately if we are not running as root. First, set up a temporary directory and create a regular file with defined permissions. + $ umask 022 $ mkdir d $ cd d $ umask 027 |