diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-28 07:26:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-28 07:26:39 +0000 |
commit | 1e7c68d3fc06091100272faf73ba99827507cc4a (patch) | |
tree | 23e3890951328cdf2d30a401c25ee1bea876303b | |
parent | aaa8e4f378df55d0886c0aac5a41440279afd0f6 (diff) | |
download | coreutils-1e7c68d3fc06091100272faf73ba99827507cc4a.tar.xz |
Use symbolic mode so that we clear
setgid bit more reliably on directories.
-rwxr-xr-x | tests/cp/fail-perm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm index dc8b0c462..411173a7c 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' |