Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > With coreutils 5.96, I get three failures on AIX 4.3.3, namely: > cp/fail-perm, rm/inaccessible, help-version. > > Verbose output is below. The last one looks funny. :-) ... > ! cp: accessing `symlink': The file access permissions do not allow the > specified action. > --- 1 ---- > ! cp: accessing `symlink': Permission denied ... > FAIL: fail-perm
Thanks. This one is fixed on the trunk. Here's the patch that I've just put on the branch as well. Index: tests/cp/fail-perm =================================================================== RCS file: /fetish/cu/tests/cp/fail-perm,v retrieving revision 1.8 diff -u -p -r1.8 fail-perm --- tests/cp/fail-perm 28 Jun 2004 18:47:24 -0000 1.8 +++ tests/cp/fail-perm 28 May 2006 08:57:54 -0000 @@ -45,9 +45,15 @@ cp: accessing `symlink': Permission deni EOF cp F symlink 2> out && fail=1 +# HPUX appears to fail with EACCES rather than EPERM. +# Transform their diagnostic +# ...: The file access permissions do not allow the specified action. +# to the expected one: +sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out cmp out exp || { (diff -c out exp) 2> /dev/null; fail=1; } cp --target-directory=symlink F 2> out && fail=1 +sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out cmp out exp || { (diff -c out exp) 2> /dev/null; fail=1; } chmod 700 D _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils