• 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: Sat, 19 Dec 2009 12:27:59 -0500

>
> 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

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

  • Prev by Date: Re: Subview and window size
  • Next by Date: Re: Subview and window size
  • Previous by thread: Re: Detecting system protected folders.
  • Next by thread: Re: Detecting system protected folders.
  • Index(es):
    • Date
    • Thread