Fresh install - first two errors.

warning: mkdir(/files):

Permission denied in /hsphere/local/home/mysitename.com/includes/file.inc on line 77.

Is this a simple premission issure

I already have "/files" and it is set to 766

but haven't touched "/includes" yet - i didn't want to give it more permission than it needed

thanks

Comments

Uwe Hermann’s picture

You probably want 755, i.e. user can read/write/execute, group can read/execute, others can read/execute. With directories "execute" means "cd into the directory" of course...

You might even want 777, which allows anyone to write in that directory, which should work, but is not quite secure...

Uwe.
--
http://www.hermann-uwe.de

qolspony’s picture

I'm having a similar problem

warning: mkdir(files): Permission denied in /hsphere/local/home2/qolspony/my domain/Drupa/includes/file.inc on line 86.

I'm trying to either upload a file to the database or point a link to a particular file to the server. Unfortunately, both attempts display an era:

"The directory files does not exist."

I have given 777 permissions to the "include" directory and "file.inc that follows the directory.

Still no change.

How can this problem be solved? Thanks for your help.

Uwe Hermann’s picture

Read again: "The directory files does not exist.".

So, go and create a directory called "files" in your Drupal directory and give the web server write permissions to that directory.

Uwe.
--
hermann-uwe.de | crazy-hacks.org | unmaintained-free-software.org

fholldorff’s picture

I've the same problem.
"Permission denied in /var/www/vhosts/rare/httpdocs/includes/file.inc on line 86."

After reading the posts here, I had create the directory files in my drupal root and changed it to 777 - but the problem still alive.

greetings, frank