ACLs on HPUX
Jeremy Allison
jra at samba.org
Wed Dec 5 11:24:02 GMT 2001
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.
More information about the samba-technical
mailing list