From: Paul Eggert Date: Fri, 28 Jul 2006 07:27:20 +0000 (+0000) Subject: Clear setuid and setuid bits on directory, in case the build X-Git-Tag: COREUTILS-6_0~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7583d05d3ed7702fdcefe5f36af44b183e7dab3;p=platform%2Fupstream%2Fcoreutils.git Clear setuid and setuid bits on directory, in case the build directory has them set and they're inherited. --- diff --git a/tests/mkdir/special-1 b/tests/mkdir/special-1 index fec727c..5f0c24b 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