summaryrefslogtreecommitdiff
path: root/tests/cp/cp-parents
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-22 07:38:06 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-22 07:38:06 +0000
commitd1140874687a7d0f150a0789979234c33c7a1ef6 (patch)
tree72e89610088db547b880fb1bd291cdc8a3763e1d /tests/cp/cp-parents
parent84abcc3480e70201d73fb1524f9559e978db605c (diff)
downloadcoreutils-d1140874687a7d0f150a0789979234c33c7a1ef6.tar.xz
* tests/cp/cp-parents: Use chmod to work around some hosts with
ACL problems.
Diffstat (limited to 'tests/cp/cp-parents')
-rwxr-xr-xtests/cp/cp-parents3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cp/cp-parents b/tests/cp/cp-parents
index 8f5182213..35b2c023a 100755
--- a/tests/cp/cp-parents
+++ b/tests/cp/cp-parents
@@ -31,6 +31,9 @@ cd $tmp || framework_failure=1
mkdir foo bar || framework_failure=1
mkdir -p a/b/c d e || framework_failure=1
+# Systems with ACLs might need this, if ACLs override umask.
+chmod -R 755 a d e || framework_failure=1
+
if test $framework_failure = 1; then
echo 'failure in testing framework'
exit 1