diff options
author | Jim Meyering <meyering@redhat.com> | 2009-09-06 18:35:40 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-09-06 18:40:40 +0200 |
commit | 467cc9bb4395da8de01208253d7d861c72f2a428 (patch) | |
tree | 9c12e454a1f62533049a4792d8b3654e5c7ebbed | |
parent | d54376db68adf655b5f09855442b2983fc2f4f3e (diff) | |
download | coreutils-467cc9bb4395da8de01208253d7d861c72f2a428.tar.xz |
tests: ls-misc: don't let a bogus umask cause test failure
* tests/misc/ls-misc: Set umask to 022. A umask setting permitting
world-write access, e.g., umask o+w, would cause this test to fail.
Report by Mathias Brodala and analysis by Tom Fitzhenry in
<http://bugs.debian.org/544965>.
-rw-r--r-- | THANKS | 2 | ||||
-rwxr-xr-x | tests/misc/ls-misc | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -386,6 +386,7 @@ Matthew Swift swift@alum.mit.edu Matthew Woehlke mw_triad@users.sourceforge.net Matthias Urlichs smurf@noris.de Matti Aarnio matti.aarnio@zmailer.org +Mathias Brodala info@noctus.net Mattias Wadenstein maswan@acc.umu.se Max Chang maxchang@ucla.edu Meelis Roos mroos@tartu.cyber.ee @@ -562,6 +563,7 @@ Tim Waugh twaugh@redhat Tobias Stoeckmann tobias@bugol.de Toby Peterson toby@opendarwin.org Todd A. Jacobs tjacobs@codegnome.org +Tom Fitzhenry tom@tom-fitzhenry.me.uk Tom Haynes thomas@netapp.com Tom Quinn trq@dionysos.thphys.ox.ac.uk Tomas Pospisek tpo@sourcepole.ch diff --git a/tests/misc/ls-misc b/tests/misc/ls-misc index 63810a559..a734d5fb9 100755 --- a/tests/misc/ls-misc +++ b/tests/misc/ls-misc @@ -239,6 +239,8 @@ my @Tests = ], ); +umask 022; + # Start with an unset LS_COLORS environment variable. delete $ENV{LS_COLORS}; |