Page 1 of 1

Change Events directory to per-user

Posted: Thu Jul 23, 2009 11:13 am
by vandai
hi,
is it possible to change the "events" directory to per-user?
example: "userdir/<USER_ID>/events/"

what i want is, every registered user has their own monitors.
i already modified the PHP script to show only their created monitors.
and i need to change their recorded files to their owned directory.

if i have 3 users, then the events folder should be:
user1 ==> userdir/1/events/....
user2 ==> userdir/2/events/....
user3 ==> userdir/3/events/....

i have no problem with the php code, and the web already pointing to their userdir. but i'm stuck with perl. Zoneminder still save the files to /events/

any help?



*nb:
i'm sorry if there's somebody already asked this.
i searched this forum and no luck...

Posted: Fri Jul 24, 2009 5:22 pm
by zoneminder
This is not possible at present. The permission and user/camera associations are almost entirely for the web interface. The capture and analysis side of things knows nothing of users for the most part.