Re: ACLs on HP NonStop

2011-09-05 Thread Bruno Haible
Hi Joachim, > I know, it's been a while... but I think I found a problem in ACL support for > NonStop. There are file systems and OS version that don't support them, and > gnu-lib code thows an error for these. The code I'm referring to is in > file-has-acl.c and goes like this: > > … > # elif

RE: ACLs on HP NonStop

2011-09-05 Thread Schmitz, Joachim
t: Sunday, October 03, 2010 6:05 PM To: Schmitz, Joachim Cc: 'Paolo Bonzini'; 'bug-gnulib' Subject: Re: ACLs on HP NonStop Joachim Schmitz wrote: > Ah, now I see, 'class' is mandatory, so we'd need > > setacl -s user::6,group::0,class:0,other:0 tmpfil

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: > Ah, now I see, 'class' is mandatory, so we'd need > > setacl -s user::6,group::0,class:0,other:0 tmpfile0 Good. I'll use class:7 instead of class:0, since this is more realistic. > and that indeed works: Great! I'm thus committing the ACL support. 2010-10-03 Bruno H

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
nt: Sunday, October 03, 2010 3:14 PM To: Schmitz, Joachim Cc: 'Paolo Bonzini'; 'bug-gnulib' Subject: Re: ACLs on HP NonStop Joachim Schmitz wrote: > Looks much better now. 'make check' now reports: > PASS: test-file-has-acl.sh > PASS: test-set-mode-acl.sh

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: > Looks much better now. 'make check' now reports: > PASS: test-file-has-acl.sh > PASS: test-set-mode-acl.sh Very nice! These are usually the hardest ones to make pass on a new platform. > unknown permission ":0" > PASS: test-copy-acl.sh > unknown permission ":0" > PASS: te

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
-gnulib' Subject: Re: ACLs on HP NonStop 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.0 -0500 > +++ ./gltests/test-sameacls.c

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
ay, October 03, 2010 2:44 PM To: Schmitz, Joachim Cc: 'Paolo Bonzini'; 'bug-gnulib' Subject: Re: ACLs on HP NonStop Joachim Schmitz wrote: > 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

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
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.0 -0500 > +++ ./gltests/test-sameacls.c 2010-10-03 07:11:40.0 -0500 > @@ -24,7 +24,7 @@ > #i

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: > 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.0 -0500 > +++ ./gllib/copy-acl.c 2010-10-03 06:59:44.0 -0500 > @@ -544,7 +544,7 @@ > /* I

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
al Message- From: Schmitz, Joachim [mailto:schm...@hp.com] 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/

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
/acltestdir2/gltests/test-file-has-acl: not found -Original Message- From: Schmitz, Joachim [mailto:schm...@hp.com] 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,

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
[mailto:br...@clisp.org] 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

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
z, 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: i

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
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

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
4:34 AM To: Schmitz, Joachim Cc: 'Paolo Bonzini'; 'bug-gnulib' Subject: Re: ACLs on HP NonStop Hi Joachim, > Attached my patches so far... > ... >../gllib/libgnu.a(set-mode-acl.o): In function `qset_acl': >set-mode-acl.o(.text._148712224+0x202): un

Re: ACLs on HP NonStop

2010-10-02 Thread Bruno Haible
Hi Joachim, > Attached my patches so far... > ... >../gllib/libgnu.a(set-mode-acl.o): In function `qset_acl': >set-mode-acl.o(.text._148712224+0x202): unresolved reference to facl. This needs another approach. The test in gl_FUNC_ACL and the code in lib/acl-internal.h use different code f