Zoneminder permission problem 1.32.3

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
detxm80
Posts: 32
Joined: Fri Oct 13, 2017 9:42 am

Zoneminder permission problem 1.32.3

Post by detxm80 » Thu Dec 20, 2018 12:17 am

I guys, i always follow this guide: https://zoneminder.readthedocs.io/en/la ... drive.html and all gone alway ok.
Now on ubuntu i install zoneminder and i get permission error and i get crazy to known where is the problem:

Code: Select all

Can't mkdir /media/sdb1/zoneminder/events /8/2018-12-20/41: No such file or directory

Code: Select all

Failed creating mp4 file: /media/sdb1/zoneminder/events /8/2018-12-20/41/41-video.mp4
Can you help me to solve it?
Thanks a lot

bbunge
Posts: 2445
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Zoneminder permission problem 1.32.3

Post by bbunge » Thu Dec 20, 2018 3:14 am

Check the install procedure in the wiki.

detxm80
Posts: 32
Joined: Fri Oct 13, 2017 9:42 am

Re: Zoneminder permission problem 1.32.3

Post by detxm80 » Thu Dec 20, 2018 8:05 am

I do it, i use the easy way zm-install script..i already use this method without problem, but now i get this error and i don t understand why

User avatar
iconnor
Posts: 848
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Zoneminder permission problem 1.32.3

Post by iconnor » Fri Dec 21, 2018 3:04 am

there is clearly an extra space in the storage area path.

I will have have to add code to strip it out.

For now you can just edit the path and get rid of that trailing space

mikb
Posts: 415
Joined: Mon Mar 25, 2013 12:34 pm

Re: Zoneminder permission problem 1.32.3

Post by mikb » Fri Dec 21, 2018 5:21 pm

Of course you can't just strip *all* spaces out, as some people actually use them! (Although a trailing space like that is evil ...)

How do you know which spaces to strip? :)

detxm80
Posts: 32
Joined: Fri Oct 13, 2017 9:42 am

Re: Zoneminder permission problem 1.32.3

Post by detxm80 » Sat Dec 22, 2018 10:24 pm

nothing to do, try to use another hdd and not have persmission to write ...
why?
i want to write here:

Code: Select all

user@ubuntu-server:/media/sdb1/zoneminder$ ls -lh
totale 8,0K
drwxrwxr-x 2 www-data www-data 4,0K dic 22 23:18 events
drwxrwxr-x 2 www-data www-data 4,0K dic 22 23:18 images
i always follow this guide https://zoneminder.readthedocs.io/en/la ... drive.html without problem.
Can you help me?

mikb
Posts: 415
Joined: Mon Mar 25, 2013 12:34 pm

Re: Zoneminder permission problem 1.32.3

Post by mikb » Sun Dec 23, 2018 9:09 pm

Have you fixed the error in the path you are using yet? Somewhere you have accidentally added a space to the end of the "path to store events" entry and ended up with this ...

/media/sdb1/zoneminder/events /8/2018-12-20/41

This path does not exist: You have a directory called "events" and are trying to write one called "events[SPACE]" which is a legitimate (but non existant and potentially really confusing) filename.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests