Re: Wrong result with createDirectoryAtPath:attributes:
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.