[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: ACLs on HP NonStop

From: Schmitz, Joachim
Subject: RE: ACLs on HP NonStop
Date: Sun, 3 Oct 2010 14:35:44 +0200

And this:

/home/jojo/Floss/acltestdir2/gltests/test-file-has-acl:  not found
file_has_acl("tmpfile0") returned , expected no
FAIL: test-file-has-acl.sh
PASS: test-set-mode-acl.sh
unknown permission ":0"
PASS: test-copy-acl.sh

-----Original Message-----
From: Schmitz, Joachim [mailto:address@hidden 
Sent: Sunday, October 03, 2010 2:17 PM
To: 'Bruno Haible'
Cc: 'Paolo Bonzini'; 'bug-gnulib'
Subject: RE: ACLs on HP NonStop

One other error, brute force fix:
diff -u ./gltests/test-sameacls.c.orig ./gltests/test-sameacls.c
--- ./gltests/test-sameacls.c.orig      2010-10-02 11:10:42.000000000 -0500
+++ ./gltests/test-sameacls.c   2010-10-03 07:11:40.000000000 -0500
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <sys/stat.h>

 # include <sys/types.h>
 # include <sys/acl.h>

Make check gives lots of
./test-set-mode-acl.sh[159]: test: argument expected
/home/jojo/Floss/acltestdir2/gltests/test-file-has-acl:  not found

-----Original Message-----
From: Schmitz, Joachim [mailto:address@hidden
Sent: Sunday, October 03, 2010 2:06 PM
To: 'Bruno Haible'
Cc: 'Paolo Bonzini'; 'bug-gnulib'
Subject: RE: ACLs on HP NonStop

Two errors so far, I fixed one (hopefully correct):
diff -u ./gllib/copy-acl.c.orig ./gllib/copy-acl.c
--- ./gllib/copy-acl.c.orig     2010-10-02 21:25:58.000000000 -0500
+++ ./gllib/copy-acl.c  2010-10-03 06:59:44.000000000 -0500
@@ -544,7 +544,7 @@
         /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. 
         abort ();

-      if (acl ((char *) name, ACL_GET, count, entries) == count)
+      if (acl ((char *) src_name, ACL_GET, count, entries) == count)
       /* Huh? The number of ACL entries changed since the last call.
          Repeat.  */

make[4]: Entering directory `/usr/local/Floss/acltestdir2/gltests'
cc  -g   -o test-file-has-acl test-file-has-acl.o ../gllib/libgnu.a

eld - TNS/E Native Mode Linker - T0608H01^AAK - 16FEB2009 Copyright 2009 
Hewlett-Packard Company This program may be distributed under the terms of the 
GNU General Public License.

eld command line:
   /usr/bin/eld -o test-file-has-acl -set systype oss -set highpin on -set
   highrequestor on -set inspect on /usr/lib/ccplmain.o test-file-has-acl.o
   ../gllib/libgnu.a -L/usr/local/lib -lfloss -lutil -lrld -L
   -lcre -lcrtl -lossk -lossf -lsec -li18n -licnv -losse -linet -lossh -lossc
   -allow_duplicate_procs -unres_symbols error

**** ERROR **** [1210]:
   ../gllib/libgnu.a(file-has-acl.o): In function `file_has_acl':
   file-has-acl.o(.text._148709872+0x1e2): unresolved reference to

No output file created.

1 error reported.
No warnings reported.
No informational messages reported.
16 informational messages suppressed.
Elapsed Time:  00:00:01
c89: /usr/bin/eld exited, returning 1.
make[4]: *** [test-file-has-acl] Error 1

more to follow shortly...

-----Original Message-----
From: Bruno Haible [mailto:address@hidden
Sent: Sunday, October 03, 2010 1:04 PM
To: Schmitz, Joachim
Cc: 'Paolo Bonzini'; 'bug-gnulib'
Subject: Re: ACLs on HP NonStop

Hi Joachim,

> The shell commands are setacl and getacl.
> Output of "VERBOSE=1 make check TESTS=test-file-has-acl.sh" attached.
> + acl_flavor=osf1
> ...
> setacl: illegal option -- u

Thanks, that's what we needed to know. So, one needs a new acl_flavor in the 
four unit tests.

There used to be an "Open System Services Shell and Utilities Reference Manual"
manual on docs.hp.com, but it appears to be gone.

The options of NSK setacl appear to be similar to those of HP-UX setacl 

With this info, I have created a new acltestdir for you, again at


reply via email to

[Prev in Thread] Current Thread [Next in Thread]