You are not logged in.

#1 2006-10-27 00:26:08

rabadash
Member
From: Seattle
Registered: 2005-04-01
Posts: 41

firestats not giving me permissions

Hi, so I'm trying to install a program called firestats to go with my drupal site, and when I click on a button that's supposed to install tables to a mysql database I made.  I get this error.  I tried chmod 777 those files, but it does nothing.  Can anyone help?

Error creating config file:
Warning: fopen(/home/httpd/html/firestats/php/fs-config.php) [function.fopen]: failed to open stream: Permission denied in /home/httpd/html/firestats/php/db-config-utils.php on line 171

Offline

#2 2006-10-27 15:44:38

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: firestats not giving me permissions

Well, as the error tells you. The program tries to create a file, not just to write one. That would mean the file does not exists, and the http process has no permission to write in the directory.

The possibilities you have:
do a chmod on the folder the script needs write access to (/home/httpd/html/firestats/php), giving the folder the permission 666.

Or you simply give the ownership of the directory to the user running the webserver (i'd rather advice you to do so anyway).

This will also grant the script the permission to create files, not just to write them.

// STi


Ability is nothing without opportunity.

Offline

Board footer

Powered by FluxBB