• 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: Sherm Pendley <email@hidden>
  • Date: Sun, 14 Dec 2003 17:00:25 -0500

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.

sherm--
_______________________________________________
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.

  • Follow-Ups:
    • Re: Wrong result with createDirectoryAtPath:attributes:
      • From: Stéphane Sudre <email@hidden>
References: 
 >Wrong result with createDirectoryAtPath:attributes: (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Wrong result with createDirectoryAtPath:attributes:
  • Next by Date: Left and Right Aligned Column in NSTableView
  • Previous by thread: Re: Wrong result with createDirectoryAtPath:attributes:
  • Next by thread: Re: Wrong result with createDirectoryAtPath:attributes:
  • Index(es):
    • Date
    • Thread