By zomie on
I successfully installed drupal, its up and running, but i get a warning message when i'm in settings under administer. warning: mkdir() [function.mkdir]; Permission denied in /srv/www/incluces/file.inc on line 91
-The directory files does not exist.
I'm not sure what the problem is because the file does exist and i'm sure i have permission to access the file. Can anyone help? Thank you
Comments
Make sure you have created a
Make sure you have created a "files" directory in your Drupal installation directory. In addition of that, give full permissions (CHMOD 777) for the "files" -directory (you can verify this in the installation manual). This should help.
I hope I can , as I've just
I hope I can , as I've just got help
'files' is a directory ( folder) you have to make and place in your drupal directory, and you have to give free access to it. Chmod 777 I think.
Fluxrider
From the love of the ride good things come
Don't forget "chown" also.... Here's what I had to do.....
I run Ubuntu LTS/Dapper Drake and I had the same error + 2 others.
1)
warning: mkdir() [function.mkdir]: Permission denied in /var/www/includes/file.inc on line 91.2) The directory files does not exist.
3) And something about dir 'files & tmp' not available.
I had to change permissions & "Ownership" because when I create any folder/dir by using a command line it does it, but to a very restrictive setting! i.e. a folder is created that nobody can do anything with until chmod & chown are set.
Google.com "chown" or at the command line do something like: chmod --help or -? & chown --help or -? (depending on your flavour/distro of Linux)
somelinuxuser@someserver# /var/www/web1/web/chmod-R 777 filessomelinuxuser@someserver# /var/www/web1/web/chown-R 1055:1055 filesthen:
somelinuxuser@someserver# /var/www/web1/web/files/chmod-R 777 tmpsomelinuxuser@someserver# /var/www/web1/web/files/chown-R 1055:1055 tmpThis works on Ubuntu LTS/Dapper Drake which is a Debian base. You find other interesting tidbits by looking at the 'chown --help' page...
Examples:
chown root /u Change the owner of /u to "root".
chown root:staff /u Likewise, but also change its group to "staff".
chown -hR root /u Change the owner of /u and subfiles to "root".
PHP version 4.4.2, MySQL ver. 4.1.18-standard, Apache version 1.3.34 (Unix)
Hosted by OpenSourceHost.com a truely professional crew that does nothing but Open Source Solutions...
peace to all beings, Michael S.
ProgressiveBastion.com