From: Paul Eggert Date: Fri, 28 Jul 2006 07:26:39 +0000 (+0000) Subject: Use symbolic mode so that we clear X-Git-Tag: v6.0~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e7c68d3fc06091100272faf73ba99827507cc4a;p=thirdparty%2Fcoreutils.git Use symbolic mode so that we clear setgid bit more reliably on directories. --- diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm index dc8b0c4623..411173a7ca 100755 --- a/tests/cp/fail-perm +++ b/tests/cp/fail-perm @@ -20,7 +20,7 @@ cd $tmp || framework_failure=1 mkdir D D/D || framework_failure=1 touch D/a || framework_failure=1 chmod 0 D/a || framework_failure=1 -chmod 0500 D || framework_failure=1 +chmod u=rx,go=,-st D || framework_failure=1 if test $framework_failure = 1; then echo 'failure in testing framework'