summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 11ac5432a..dc8b0c462 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 500 D || framework_failure=1
+chmod 0500 D || framework_failure=1
if test $framework_failure = 1; then
echo 'failure in testing framework'