ACLs on HPUX

Andrew Bartlett abartlet at pcug.org.au
Wed Dec 5 13:31:08 GMT 2001


Jeremy Allison wrote:
> 
> On Wed, Dec 05, 2001 at 11:57:26AM -0700, David Reimschussel wrote:
> 
> > I too noticed the similarities with the solaris/unixware interface and
> > the lack of facl().  I have looked all over and can't find it.  It isn't
> > documented anywhere and I can't find it in the #include file where acl()
> > is defined (or in any other include file.)  As far as I can tell, we're
> > going to have to only use the filename-based interface: acl().
> >
> > Rainer: you're an hp guy- do you know if there are any operating system
> > updates that give us facl()?  I can't believe that HP would leave it out
> > in the first place.  HP gave us descriptor based acl manipulation for
> > HFS.  Surely there's something similar for JFS.
> >
> > Assuming there's no facl(), is there any way to take a file descriptor
> > and get its filename?  If that's not possible, what are the chances of
> > making samba give us only filenames?  I guess that would mean adding
> > #ifdef HPUX_HAS_NO_FACL or something similar around all uses of the file
> > descriptor based interface.  That's pretty ugly.
> 
> Yes, too ugly to live :-). We need to convert a fd to name internally
> to the sysacl interface.
> 
> Jeremy.

Doesn' that imply all the race conditions the f*() interfaces were
designed to get around in the first place?

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list