• 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: Jens Alfke <email@hidden>
  • Date: Fri, 18 Dec 2009 09:25:23 -0800

On Dec 18, 2009, at 6:12 AM, Sandro Noël wrote:

> there are some system protected folders that will not allow themselves to be renamed.
> I would like to disable the possibility of even starting to edit there names in my interface.
> I would need a function that can tell me if the folder I'm trying to rename is actually a system protected folder.

Use NSFileManager to check whether you have write access to the directory and its parent directory.

—Jens_______________________________________________

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: 
 >Detecting system protected folders. (From: Sandro Noël <email@hidden>)

  • Prev by Date: Re: Question about MVC
  • Next by Date: Re: Enabling menu items...
  • Previous by thread: Detecting system protected folders.
  • Next by thread: Re: Detecting system protected folders.
  • Index(es):
    • Date
    • Thread