summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-28 07:26:39 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-28 07:26:39 +0000
commit1e7c68d3fc06091100272faf73ba99827507cc4a (patch)
tree23e3890951328cdf2d30a401c25ee1bea876303b /tests
parentaaa8e4f378df55d0886c0aac5a41440279afd0f6 (diff)
downloadcoreutils-1e7c68d3fc06091100272faf73ba99827507cc4a.tar.xz
Use symbolic mode so that we clear
setgid bit more reliably on directories.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cp/fail-perm2
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'