Re: Checking for ACL support
Re: Checking for ACL support
- Subject: Re: Checking for ACL support
- From: Paul Nelson <email@hidden>
- Date: Tue, 21 Apr 2009 08:56:16 -0500
- Thread-topic: Checking for ACL support
Title: Re: Checking for ACL support
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
_______________________________________________
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