permission DENIED !!!!

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

permission DENIED !!!!

Post 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
Last edited by phaksp on Tue Nov 08, 2005 1:42 pm, edited 1 time in total.
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post 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?
Rick Hewett
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Post 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
Locked