Page 1 of 1

permission DENIED !!!!

Posted: Tue Nov 08, 2005 1:22 pm
by phaksp
Warning: fopen(/usr/local/etc/zm.conf): failed to open stream: Permission denied in /var/www/html/zm_config.php on line 29
Could not open config file.


that's what i get when i'm accessing it

Posted: Tue Nov 08, 2005 1:32 pm
by lazyleopard
The user runing the various zm* processes (often "apache") needs to be able to read the /usr/local/etc/zm.conf file. Ideally, nobody else should, though. What does "ls -l /usr/local/etc/zm.conf" tell you about it? What user is running the zm* processes?

Posted: Tue Nov 08, 2005 1:34 pm
by phaksp
ls -l /usr/local/etc/zm.conf
-rw------- 1 apache apache 101 2005-11-07 22:43 /usr/local/etc/zm.conf

how do i verify which user is running the zm process ?

edit: changed to chmod 765. It works now :)

thanks