I'm trying to insert an image into a page using fckeditor. When i click 'browse server', it pops up the resources browser, and then gives this error

Error creating folder "/var/www/html/userfiles/image/" (mkdir() [function.mkdir]: Permission denied)

Presumably i have to set the correct permissions, but i can't figure out which folder to set write permissions...

This is the path where drupal is installed, as seen when looking at the server through ftp

\domains\mydomain123.com\public_html

and 'public_html' is the root of the website as seen from a browser.

Drupal's 'file system' setting gives the file system path as

sites/default/files

I've tried giving write permission to

\domains\mydomain123.com\public_html\sites\default\files

to no avail. Is there some other folder i should give write permissions to?

using drupal 6.1, fckeditor 2.51