Re: acl_delete_file_np
Re: acl_delete_file_np
- Subject: Re: acl_delete_file_np
- From: Brendan Creane <email@hidden>
- Date: Wed, 16 Aug 2006 12:41:10 -0700 (PDT)
Chris,
Thanks for the tip -- I sometimes forget that I
actually do have access to the source:-)
And as another benefit to being able to examine the
library source, I discovered that several of the
non-posix extensions present in the Darwin ACL api are
no-oped/broken as well (e.g. acl_set_link_np,
acl_get_link_np) ... saving me several hours of
probing around in the dark.
- Brendan
On Wed, 16 Aug 2006 07:04:26 +0100, Chris Ridd wrote:
> If you look at the 10.4.6 sources via:
>
<http://darwinsource.opendarwin.org/10.4.6.ppc/Libc-391.2.5/posix1e/acl_file
.c>
> you'll see that they are indeed mostly stubs. Your
debugger was right
:-(
> Cheers,
Chris
On 16/8/06 4:43, Brendan Creane <email@hidden>
wrote:
> Hello Darwin-List,
>
> I've been trying to remove the access control list
> entries associated with a file, and not having
> success. All of the following consistently return
> ENOENT: acl_delete_file_np(), acl_delete_link_np(),
> and acl_delete_fd_np(), though the path or file
> descriptor is valid. When I walk into the library
> routine's assembly code, it looks like the call is
> stubbed out -- pop the stack and then return to the
> caller.
>
> Does anyone know the status of the acl_delete
routines
> under OS X 10.4.7? If indeed they aren't functional,
> is the best work-around to delete acl entries
> one-by-one?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden