Re: Create ('touch') file



Michael Ash <mike@xxxxxxxxxxx> writes:

> Steve <stephen@xxxxxxxxxx> wrote:
>>
>> I'm trying to get the NSString writeToFile function method working but
>> I've finally found out that it 'cannot find the file at the path'
>> specified by writeToFile:path:encoding:error.
>
> Are you sure that the parent directory of the path you're writing to
> exists? Are you sure that you have write permissions there if it does?

I think lack of permissions would produce a different error. Spot-on about
checking to make sure the parent directory exists though.

sherm--

--
Due to the amount of unreadable gibberish being posted from Google Groups,
I seldom read messages posted from there.

Cocoa/Perl: http://camelbones.sf.net Hire Me: http://www.dot-app.org
.



Relevant Pages

  • Re: IIS, Win2003 and NTFS problem
    ... Assuming that you do have the file manipulation process running ... > zip it up and place it in his/her personal web directory (makes it ... > parent directory permissions, and they seem correct. ...
    (microsoft.public.inetserver.iis.security)
  • Re: xcacls
    ... Knock out all permissions at the parent directory and all ... Seize ownership of the parent directory and all subdirectories. ... the parent directory level, and turn on inheritance. ... This command assumes that the folder names are identical ...
    (microsoft.public.win2000.file_system)
  • Re: Data access and security permissions
    ... Norman, ... What permissions do the users have to the parent directory? ... However these aren't permission errors on the site database ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS, Win2003 and NTFS problem
    ... and since IIS5 on W2K had greater privileges, it was able to "mask" the ... zip it up and place it in his/her personal web directory (makes it available ... parent directory permissions, and they seem correct. ...
    (microsoft.public.inetserver.iis.security)