zmfix and /dev/video[0123] permissions

Support and queries relating to all previous versions of ZoneMinder
Locked
JimNoble
Posts: 58
Joined: Thu Jul 29, 2004 12:12 am

zmfix and /dev/video[0123] permissions

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Yes, this should happen in the install process.

Phil
JimNoble
Posts: 58
Joined: Thu Jul 29, 2004 12:12 am

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