bug-gnulib
[Top][All Lists]
Advanced

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

Re: ACLs on HP NonStop


From: Bruno Haible
Subject: Re: ACLs on HP NonStop
Date: Sun, 3 Oct 2010 14:48:32 +0200
User-agent: KMail/1.9.9

Joachim Schmitz wrote:
> 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>
> 
> -#if HAVE_ACL_GET_FILE || HAVE_FACL || HAVE_ACLX_GET || HAVE_STATACL
> +#if HAVE_ACL_GET_FILE || HAVE_FACL || HAVE_ACLX_GET || HAVE_STATACL || 
> __TANDEM
>  # include <sys/types.h>
>  # include <sys/acl.h>
>  #endif

Noted, thanks.

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

Hmm? "make" should have created a program gltests/test-file-has-acl. You can try
to run this program with a file argument
  $ gltests/test-file-has-acl /usr/include/stdio.h
and it should report "yes" or "no": "yes" for files on which you have set an
ACL using 'setacl -m user:10:1' or so, "no" otherwise.

Bruno



reply via email to

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