Page 1 of 1
Zoneminder permission problem 1.32.3
Posted: Thu Dec 20, 2018 12:17 am
by detxm80
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
Re: Zoneminder permission problem 1.32.3
Posted: Thu Dec 20, 2018 3:14 am
by bbunge
Check the install procedure in the wiki.
Re: Zoneminder permission problem 1.32.3
Posted: Thu Dec 20, 2018 8:05 am
by detxm80
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
Re: Zoneminder permission problem 1.32.3
Posted: Fri Dec 21, 2018 3:04 am
by iconnor
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
Re: Zoneminder permission problem 1.32.3
Posted: Fri Dec 21, 2018 5:21 pm
by mikb
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?
Re: Zoneminder permission problem 1.32.3
Posted: Sat Dec 22, 2018 10:24 pm
by detxm80
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?
Re: Zoneminder permission problem 1.32.3
Posted: Sun Dec 23, 2018 9:09 pm
by mikb
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.