Page 1 of 1

Permissions issue with LiveCD 1.21.3

Posted: Mon Jun 05, 2006 6:00 am
by ekiboy69
Hello,

I think I found a permission issue in Ross' fabulous Live CD.

I have a 2 week old installation running 1.22.1 updated with the RPMs. It has been running OK for about 2 week.

Yesterday I fiddled around with the monitor settings and found out the following:

The problem is that if you alter the monitor setting via the web console, you bump into permission problem. I tried to alter FPS settings and the event name of a monitor. This results into the camera image stream not being available. I think the reason is the following:

Jun 5 08:51:36 zoneminder zma_m3[6284]: ERR [Can't open events/3/diag-r.jpg: No such file or directory]

I deleted monitor no1. I had deleted monitor no2 earlier (experimental). I created no3.

In /var/www/html/zm/events there is only the original symlink to the monitor no1 directory. The symlink is not updated according to the changes in the monitor settings.

What could cause this?

Same applies if DB is dropped and Monitors created anew

Posted: Mon Jun 05, 2006 6:15 am
by ekiboy69
I dropped the DB with zminit and created a new monitor. No success because:

Jun 5 09:13:42 zoneminder zmu[6617]: ERR [Can't open Kalustepiha-Zones.jpg: Permission denied]

And zms is unable to authenticate user...

Posted: Mon Jun 05, 2006 6:38 am
by ekiboy69
Jun 5 09:37:56 zoneminder zms[10237]: ERR [Unable to authenticate user]

I guess it would be a wise move to learn something from this...

;-)

Posted: Mon Jun 05, 2006 1:32 pm
by rdmelin
Yes I think you did find a bug. I believe these issues are gone with the newer 1.22.2 rpms. If you dont want to upgrade to the latest, then do this:

"chown apache.apache /var/www/html/zm/events"
"chown apache.apache /var/www/html/zm/images"

Im not sure what the "unable to authenticate user" error is about.

Posted: Mon Jun 05, 2006 1:35 pm
by jameswilson
it would appear its trying to stream images (zms) for a user that isnt allowed to view the particular stream you are virewing. I have never seen this from inside the web i/f though and is usally when get images from ouside the web i/f

I'll try the new rpm's

Posted: Mon Jun 05, 2006 8:35 pm
by ekiboy69
Good to hear it sounds like a bug. Almost drove me nuts last night :roll:

I'll check out the latest rpm and see what happens.