Re: A mystery with NSFileManager
Re: A mystery with NSFileManager
- Subject: Re: A mystery with NSFileManager
- From: email@hidden
- Date: Mon, 25 Feb 2002 11:26:58 -0800
The last symlink is traversed, UNLESS the sticky bit is also indicated
in the stat info. (Why? read on.)
Thanks, Chris. Very illuminating. I've logged a bug (2867893), and
I've worked around the problem by basically saying "if path exists but
is not a directory, try path plus a trailing slash, and if that exists
and *is* a directory, use that path instead". :->
Fascinating....
Yeah; it's always amazing to me how much complexity is under the
hood. All us Cocoa programmers are merrily hacking away with the AppKit
and Foundation APIs without a care in the world, until something like
this comes up that exposes some small part of the true underpinnings of
it all... :->
Ben Haller
Stick Software
_______________________________________________
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.