ACLs on HPUX

Michael Davidson michael_davidson at pacbell.net
Tue Dec 4 11:03:13 GMT 2001


On Thu Nov 29 17:22:08 2001, David Reimschussel reiml at byu.edu wrote:
> 
> I have a few hpux machines running samba.  I would like to be able to
> use ACLs in hpux on JFS (aka veritas or VxFS.)  
>                                                                                 
[ ... ]                                                        
>                                                                                 
> Is anyone else working on this?  What's the story with it being planned
> for 2.2.0 but not there- did someone run into a brick wall?  If it's not
> done simply because nobody did it, I'll give it a try.

AFAIK the only reason it didn't happen was because nobody did it.

> 
> What does adding a new acl platform entail?  Do I just have to add a
> section in source/lib/sysacls.c like the other platforms?  Any help
> would be appreciated.

Yes, that's essentially all you have to do.

A quick look at the HPUX documentation on HP's web site leaves me
a little confused, though ...

Searching the whole web site, I found a few references to the SVR4
style interface to VxVS ACLs - acl(), aclsort() etc - if this exists
on your system, then you should be able to use something very similar
to the Solaris / Open UNIX code that is already in sysacls.c. 
However, I also saw aomething in an HPUX 11 developer guide that said
that ACLs were not supported in the JFS on HPUX 11.

There were also some references to getacl() and setacl() functions
which only worked on the "HFS" filesystem, whatever that is ...

So - if you can figure out what your version of HPUX actually
supports, then adding ACL support to Samba should be fairly simple.




More information about the samba-technical mailing list