Re: createDirectoryAtPath:withIntermediateDirectories:attributes:error: Returns NO when it exists

2012-10-31 Thread Andreas Grosam
On 30.10.2012, at 19:17, Quincey Morris wrote: On Oct 30, 2012, at 10:39 , Sean McBride s...@rogue-research.com wrote: Note that in my experience YES is returned if the directory exists. It's also worth consulting the header file comments:

Re: createDirectoryAtPath:withIntermediateDirectories:attributes:error: Returns NO when it exists

2012-10-30 Thread Sean McBride
On Mon, 29 Oct 2012 10:22:57 +0100, Andreas Grosam said: I'm attempting to create a directory with NSFileManager's method. The directory may already exist. According the documentation https://developer.apple.com/library/mac/ #documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/

Re: createDirectoryAtPath:withIntermediateDirectories:attributes:error: Returns NO when it exists

2012-10-30 Thread Quincey Morris
On Oct 30, 2012, at 10:39 , Sean McBride s...@rogue-research.com wrote: Note that in my experience YES is returned if the directory exists. It's also worth consulting the header file comments: createDirectoryAtPath:withIntermediateDirectories:attributes:error: creates a directory at the

Re: createDirectoryAtPath:withIntermediateDirectories:attributes:error: Returns NO when it exists

2012-10-29 Thread Mike Abdullah
On 29 Oct 2012, at 09:22, Andreas Grosam agro...@onlinehome.de wrote: I'm attempting to create a directory with NSFileManager's method. The directory may already exist. According the documentation

Re: createDirectoryAtPath:withIntermediateDirectories:attributes:error: Returns NO when it exists

2012-10-29 Thread Andreas Grosam
On 29.10.2012, at 12:43, Mike Abdullah wrote: On 29 Oct 2012, at 09:22, Andreas Grosam agro...@onlinehome.de wrote: I'm attempting to create a directory with NSFileManager's method. The directory may already exist. According the documentation

Re: createDirectoryAtPath:withIntermediateDirectories:attributes:error: Returns NO when it exists

2012-10-29 Thread Vincent Habchi
Le 29 oct. 2012 à 13:23, Andreas Grosam agro...@onlinehome.de a écrit : T$ ls -al total 816 drwx-- 10 me staff 340 29 Okt 13:15 . Did you try with your . directory having permissions drwxr-xr-x? V. ___ Cocoa-dev mailing list