When I try to edit a zone for the given camera, the camera view is not rendered. Log file reads:
Code: Select all
ERR Can't open Zones1.jpg: Permission denied zm_image.cpp 402
so I believe ZoneMinder is trying to create JPEG image somewhere in current directory, which is not writeable. cwd for
zmc and
zma processes is
/usr/share/zoneminder – definitely not writeable.
zm_monitor.cpp:980 reads:
Code: Select all
static char filename[PATH_MAX];
snprintf( filename, sizeof(filename), "Zones%d.jpg", id );
zone_image.WriteJpeg( filename );
Difficult to say what is the context (e.g. current directory)... What could be the solution?