summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-28 07:27:20 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-28 07:27:20 +0000
commite7583d05d3ed7702fdcefe5f36af44b183e7dab3 (patch)
tree0805afc8b22abf6eb8029b50c42c0724e9e715a3
parent1e7c68d3fc06091100272faf73ba99827507cc4a (diff)
downloadcoreutils-e7583d05d3ed7702fdcefe5f36af44b183e7dab3.tar.xz
Clear setuid and setuid bits on directory, in case the build
directory has them set and they're inherited.
-rwxr-xr-xtests/mkdir/special-12
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mkdir/special-1 b/tests/mkdir/special-1
index fec727cda..5f0c24b9c 100755
--- a/tests/mkdir/special-1
+++ b/tests/mkdir/special-1
@@ -10,7 +10,7 @@ tmp=mkdir-sp-$$
trap 'status=$?; rm -rf $tmp && exit $status' 0
trap 'exit $?' 1 2 13 15
-set_mode_string=u=rwx,g=rx,o=w,go+t
+set_mode_string=u=rwx,g=rx,o=w,-s,+t
output_mode_string=drwxr-x-wT
mkdir -m$set_mode_string $tmp || fail=1