Problem with permision

Support and queries relating to all previous versions of ZoneMinder
Locked
germandms
Posts: 40
Joined: Mon Oct 03, 2005 2:19 pm

Problem with permision

Post by germandms »

many attempts finally I have compiled zm this worked, I have a capturadora kodikom with chip bt878 also works all this in suse 10,0 with kernel 2,6,13, but there is a problem when I enter http://localhost/zm when trying to add a monitor or to make any thing to see properties which is gives the message me of erro 403, that are permissions no to see the file zm.php. clear q is problem with the permissions as they to be these
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Check and make sure that the files are owned by your apache user and have read access.

Regards,
Cordel
germandms
Posts: 40
Joined: Mon Oct 03, 2005 2:19 pm

????????

Post by germandms »

that archives I must review I must agrgar algun usuary of zm. I can enter index but the archives php

user wwwrun
gruop www
/srv/www/htdocs/zm
/srv/www/cgi-bin/

helpmy please...
User avatar
JasonH
Posts: 27
Joined: Thu Dec 16, 2004 8:33 pm
Location: Yorkshire

Post by JasonH »

You're running Suse aren't you?
I've just got the same error on a clean install. It seems to be caused by the zm folder being owned by root. To fix, run the following as root.

Code: Select all

cd /srv/www/htdocs
chown wwwrun zm
chgrp www zm
*update* Sorry about this, must have changed more than one thing at once :( After a reboot it seems to be bringing back the same error message as before.

I can fix it by typing http://localhost/zm/zm.php into the browser instead of referencing the symbolic link (index.php). The symlink is owned by root and I can't seem to change this. Anybody else got any clues?
dgsconseil
Posts: 13
Joined: Sun Feb 12, 2006 3:20 pm

Post by dgsconseil »

another way to deal with this is to remove the symlink and add zm.php at the end of the line DirectoryIndex index.html index.html.var of your /etc/apache2/httpd.conf

then restart apache

now you can point to http://localhost/zm and zm.php is called by default
Locked