Blog Just another tech site


ZoneMinder: Can’t symlink to Monitor- : Permission Denied.

ZoneMinder Permission Error

Can't symlink '1' to 'Monitor-1': Permission denied has been one of the easiest errors fix while setting up several ZoneMinder installations I have found. It seems ZoneMinders' user that it is running under has the incorrect permissions to the event / image folders. A simple chown will easily fix this issue.

The event images and diagnostic files are usually stored under /usr/share/zoneminder/events which is symbolic link to /var/cache/zoneminder/events. Use the following command to change the owner:

chown -R www-data:www-data /var/cache/zoneminder/events

chown -R www-data:www-data/var/cache/zoneminder/images

ZoneMinder under a standard install will run under the same user as apache, which is www-data, setting the owner of the ZoneMinder folders will give full permission to the correct user.

9 responses to “ZoneMinder: Can’t symlink to Monitor- : Permission Denied.”

  1. Craig says:

    Thanks for taking the time to document this. It fixed the problem I had where images would not load when viewing zone configurations.

  2. iscromanpc says:

    Thanks! I have the same problem that Craig after move images and events folders to a external hard drive.

  3. gec says:

    This worked, I think dropbox messed the persmissions.

  4. Guillermo says:

    This worked perfectly! thanks!

  5. Simon says:

    Space is missing in the article between data and / in second line. Should be:
    chown -R www-data:www-data /var/cache/zoneminder/events
    chown -R www-data:www-data /var/cache/zoneminder/images

  6. rninja says:

    Bingo! Thanks for posting this.

  7. Alexander says:

    Thanks, your article helped me today!

  8. tpscz says:

    Thank You,

    Helped me, using Rasbian Jessie on a Pi3 while setting up external storage drives.

Leave a Reply

Your email address will not be published. Required fields are marked *