diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-06-15 17:35:00 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-06-15 17:35:00 +0000 |
commit | 585d68178339478f1f52422a84bcbaecc591b307 (patch) | |
tree | bb624b6007d21332df30b1d370ef2312e4045793 /tests | |
parent | e48234f842892db74f37d954dd3bcb42dfcb2819 (diff) | |
download | coreutils-585d68178339478f1f52422a84bcbaecc591b307.tar.xz |
Improve permission checks to handle
running mkdir test in set-gid directories.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/mknod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/mknod b/tests/misc/mknod index bdb386c97..b6670ab08 100755 --- a/tests/misc/mknod +++ b/tests/misc/mknod @@ -34,6 +34,6 @@ test $mode = prwx-wxr-- || fail=1 mkdir -m 734 f3 || fail=1 set _ `ls -dgo f3`; shift; mode=$1 -test $mode = drwx-wxr-- || fail=1 +test $mode = drwx-wxr-- || test $mode = drwx-wsr-- || fail=1 (exit $fail); exit $fail |