• 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: Wrong result with createDirectoryAtPath:attributes:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrong result with createDirectoryAtPath:attributes:


  • Subject: Re: Wrong result with createDirectoryAtPath:attributes:
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 15 Dec 2003 08:59:59 +0100

On dimanche, dicembre 14, 2003, at 11:00 PM, Sherm Pendley wrote:

On Dec 14, 2003, at 3:38 PM, Stiphane Sudre wrote:

with a valid path and the following attributes (it's an output of the NSDictionary):

<dict>
<key>NSFileGroupOwnerAccountID</key>
<integer>20</integer>
<key>NSFileOwnerAccountID</key>
<integer>501</integer>
<key>NSFilePosixPermissions</key>
<integer>509</integer>
</dict>

In NSFileManager.h, these constants are only available for 10.2. You've indicated that the tool is *running* on 10.2, but you might want to verifiy that it's not being compiled with 10.1 compatibility enabled.

If you need the tool to be compatible with earlier versions, you might try using NSFileOwnerAccountName & NSFileGroupOwnerAccountName instead of the numeric variants.

Indeed. But AFAIK, it's compiled without any compatibility enabled since I'm compiling on 10.2 with Project Builder.

Anyway looking at the headers clarifies the fact that the 10.2 NSFileManager documentation is buggy as it's stating some methods are part of NSFileManager whereas they are part of NSDictionary (as a category). It's fixed on the Apple Web site and so in 10.3 I think.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: Wrong result with createDirectoryAtPath:attributes: (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: 'WebKit/WebKit.h' not found
  • Next by Date: A little doubt about NSTableView.
  • Previous by thread: Re: Wrong result with createDirectoryAtPath:attributes:
  • Next by thread: Intercepting JavaScript calls in WebViews
  • Index(es):
    • Date
    • Thread