Clear setuid and setuid bits on directory, in case the build
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Jul 2006 07:27:20 +0000 (07:27 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Jul 2006 07:27:20 +0000 (07:27 +0000)
directory has them set and they're inherited.

tests/mkdir/special-1

index fec727c..5f0c24b 100755 (executable)
@@ -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