summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-25 18:38:25 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-25 18:38:25 +0000
commit97e1e9019dcc96e6f99b1e8e89b205d82fd22356 (patch)
tree9ae6b4c6f9aadea7d96bbe7a49af146eb4b3401c
parent5637c1634f8d08b25c41390d7cc95acd94a1d37e (diff)
downloadcoreutils-97e1e9019dcc96e6f99b1e8e89b205d82fd22356.tar.xz
Use "chmod 0500" rather than "chmod 500".
-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'