Page 1 of 1

zmfix and /dev/video[0123] permissions

Posted: Mon Oct 17, 2005 9:49 pm
by JimNoble
from zmpck.log, I can see zmfix is being run as user apache:

Executing: su apache --shell=/bin/sh --command='/usr/lib/zm/bin/zmfix'

Which fails to fix the permissions on /dev/video[0-3]

Presumably it's supposed to run as root. Any ideas as to why it's not?

(Should it be owned by root and have the set uid bit chmodded?)

Jim

Posted: Wed Oct 19, 2005 11:37 am
by zoneminder
Yes, this should happen in the install process.

Phil

Posted: Wed Oct 19, 2005 1:57 pm
by JimNoble
zoneminder wrote:Yes, this should happen in the install process.

Phil
Cheers Phil.

Permissions got screwed at some point, and I guess I lost the setuid...

Jim