File permissions

(related to Drupal 4.5.2, other versions?)

http://www.yourhomepage.tld/?q=admin/settings might yield error messages like this:

warning: mkdir(files): Permission denied in / data/www3010/public/includes/ on line 77. warning: mkdir(files/tmp): No such file or directory in /

usr/data/www3010/public/includes/ on line 77.

This means that Drupal needs write access to create (and later access) the files and files/tmp directories. One way to solve this is to give the webserver write access in the directory. Another common solution seems to be granting everybody write access to the "files" directory. Both solutions has the drawback that somebody else is able to write files into that directory. [if you know a better solution, please mention it here]

Was this article helpful?

0 0

Post a comment