Re: Detecting system protected folders.
Re: Detecting system protected folders.
- Subject: Re: Detecting system protected folders.
- From: Sandro Noël <email@hidden>
- Date: Mon, 21 Dec 2009 13:35:40 -0500
Is there anything in Cocoa/Carbon to retrieve ACL From files?
Or do i have to mess around with the ACL Library directly ?
Regards.
Sandor Noel.
On 2009-12-19, at 12:27 PM, Sandro Noël wrote:
>
>>
>> Testing this in Terminal:
>> mv ~/Music ~/lose
>>
>> I get a Permission denied error message, which suggests an ACL.
>>
>> It's confirmed by this command:
>>
>> ls -led ~/Music
>>
>> Based on this, my new guess is that NSFileManager isn't using the ACL to check for writability. You may want to look at other NSFileManager methods, or look into other ways to read the ACL.
>
> Greg, thank you for the pointer.
>
> Regards.
> Sandro noel._______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden