• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting system protected folders.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Detecting system protected folders. (From: Greg Guerin <email@hidden>)
 >Re: Detecting system protected folders. (From: Sandro Noël <email@hidden>)

  • Prev by Date: Re: Releasing an NSBundle
  • Next by Date: [A] Resizing a window to show full rows from a table view
  • Previous by thread: Re: Detecting system protected folders.
  • Next by thread: Outline View CancelEditing
  • Index(es):
    • Date
    • Thread