[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-8.13.29-43a9 on Solaris 10
From: |
Jim Meyering |
Subject: |
Re: coreutils-8.13.29-43a9 on Solaris 10 |
Date: |
Sat, 08 Oct 2011 17:59:01 +0200 |
Bruno Haible wrote:
> On Solaris 10/x86 with gcc:
>
> slink-acl: set-up failure:
> FAIL: ls/slink-acl
...
> FAIL: ls/slink-acl (exit: 99)
> =============================
...
> + setfacl -m user::rwx .
> + touch k
> + setfacl -m m::r k
> use only 1 colon for mask and other entries.
> + framework_failure_
...
> The setfacl command on Solaris accepts only 1 colon after 'm' for 'mask',
> see <http://dlc.sun.com/osol/docs/content/SYSADV6/secfile-37.html>. But
> I don't know how to fix the test:
>
> $ setfacl -m m::r k
> use only 1 colon for mask and other entries.
> $ setfacl -m m:r k
> Unrecognized character found in mode field
> $ setfacl -m m:400 k
> Unrecognized character found in mode field
> $ setfacl -s m:400 k
> Unrecognized character found in mode field
Thank you!
This fixes it:
>From 11cb50ee6d20966abeed32cf61b5f26a984b7e7d Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 8 Oct 2011 17:57:01 +0200
Subject: [PATCH] tests: avoid ls/slink-acl test failure on Solaris 10
* tests/ls/slink-acl: Use setfacl's "-m user::r" option rather than
less-portable "-m m::r". The latter did not work with Solaris 10's
version of setfacl. Reported by Bruno Haible in
http://thread.gmane.org/gmane.comp.gnu.coreutils.general/1726/focus=1737
---
tests/ls/slink-acl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/ls/slink-acl b/tests/ls/slink-acl
index f4d0a11..124f897 100755
--- a/tests/ls/slink-acl
+++ b/tests/ls/slink-acl
@@ -22,7 +22,7 @@ print_ver_ ls
require_setfacl_
touch k || framework_failure_
-setfacl -m m::r k || framework_failure_
+setfacl -m user::r k || framework_failure_
ln -s k s || framework_failure_
set _ $(ls -Log s); shift; link=$1
--
1.7.7.rc0.362.g5a14
- Re: coreutils-8.13.29-43a9 on NetBSD 5.1, (continued)
- coreutils-8.13.29-43a9 on IRIX 6.5, Bruno Haible, 2011/10/08
- coreutils-8.13.29-43a9 on OSF/1, Bruno Haible, 2011/10/08
- coreutils-8.13.29-43a9 on Solaris 10, Bruno Haible, 2011/10/08
- Re: coreutils-8.13.29-43a9 on Solaris 10,
Jim Meyering <=
- coreutils-8.13.29-43a9 on Solaris 7, Bruno Haible, 2011/10/08
- coreutils-8.13.29-43a9 on Cygwin, Bruno Haible, 2011/10/08
- Re: new snapshot available: coreutils-8.13.29-43a9, Bruno Haible, 2011/10/08
- Message not available
Message not available