Hello!
I have installed Drupal on my site and I need some help. When I go to the templates section, this error appears at the top of the page:
warning: mkdir(files): Permission denied in /home/coco563/public_html/firefox/includes/file.inc on line 77.
What does it mean? I have CHMODed the file 'file.inc' and the entire includes directory along with each file to 777! Please help me!!

Thank you! :)

Comments

kbahey’s picture

The user under which Apache runs (nobody, or www or whatever) is trying to create a directory called files, but the permission of public_html (or the directory where you installed Drupal) does not allow it.

Change the permissions of public_html/firefox to allow others write in this directory.

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

teri@bglog.net’s picture

I think that you can make directory /home/coco563/public_html/firefox/files, and change it's permissions to 777. I think this will solve the problem.

TN563’s picture

Ok, I made a folder called files and CHMODed it to 777 and now Drupal is happy.

killes@www.drop.org’s picture

777 is actually a bit dangerous. I'd try to find some less liberal settings. If you can CHOWN the directory to be owned by the apache user this should be possible.
--
If you have troubles with a particular contrib project, please consider filing a support request. Thanks. And, by the way, Drupal 4.5 does not work with PHP 5.