Re: Checking for ACL support
Re: Checking for ACL support
- Subject: Re: Checking for ACL support
- From: Rohan Kulkarni <email@hidden>
- Date: Wed, 22 Apr 2009 11:22:46 +0530
Hi
This worked :)
Thanks a lot
On Tue, Apr 21, 2009 at 7:26 PM, Paul Nelson
<email@hidden> wrote:
Use a getattrlist call to get ATTR_VOL_ATTRIBUTES, then look for VOL_CAP_INT_EXTENDED_SECURITY
This is documented in the man page for getattrlist.
Paul Nelson
Thursby Software Systems, Inc.
From: Rohan Kulkarni <email@hidden>
Date: Tue, 21 Apr 2009 16:50:36 +0530
To: <email@hidden>
Subject: Checking for ACL support
Hello All,
With Mac OS X, how do I check(programatically) if a volume is mounted with ACL support or not?
I can always use acl_get_fd() and if it fails with EOPNOTSUPP then ACL's are not supported.
However, I want to first check for ACL support and then use the API's for getting/setting ACL's
Is there any other method?
Thanks
_______________________________________________
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
--
rohan
_______________________________________________
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