Not writing to designated folder.

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
PCMedicJAX
Posts: 31
Joined: Thu Aug 27, 2015 1:18 pm

Not writing to designated folder.

Post by PCMedicJAX »

I have created a share on a windows PC
I have mounted the share on the Linux PC using the following:
//x.x.x.x/sharename /media/nvrshare cifs username=xxxx,password=xxxx,uid=1000,iocharset=utf8 0 0
I have tested and I can write and delete from the share from the Linux PC I can write to the folder from a command line
I have added the storage location /media/nvrshare in ZoneMinder via the web interface with eht name Array01
I have set the specific camera to use Array01 for storage
The Logs show the following error:
Can't open /media/nvrshare/6/2021-02-03/49708/02471-capture.jpg for writing: No such file or directory.

Thanks in advance for any help.
jperkins
Posts: 50
Joined: Sat Jan 23, 2021 11:08 am

Re: Not writing to designated folder.

Post by jperkins »

just a WAG but looks like the fstab snippet you posted is owned by user 1000 (probably you )
on my system the data directory is written by www-data.
Maybe you have a permissions issue

lrwxrwxrwx 1 www-data www-data 2 Feb 1 22:48 Monitor-10 -> 10
lrwxrwxrwx 1 www-data www-data 2 Feb 1 23:50 Monitor-11 -> 11
lrwxrwxrwx 1 www-data www-data 2 Feb 2 21:15 Monitor-12 -> 12
lrwxrwxrwx 1 www-data www-data 2 Feb 3 02:52 Monitor-13 -> 13
lrwxrwxrwx 1 www-data www-data 2 Feb 3 02:58 Monitor-14 -> 14
lrwxrwxrwx 1 www-data www-data 2 Feb 3 03:06 Monitor-15 -> 15
lrwxrwxrwx 1 www-data www-data 2 Feb 3 03:13 Monitor-16 -> 16
lrwxrwxrwx 1 www-data www-data 2 Feb 3 03:19 Monitor-17 -> 17
PCMedicJAX
Posts: 31
Joined: Thu Aug 27, 2015 1:18 pm

Re: Not writing to designated folder.

Post by PCMedicJAX »

Thank very much you that was the answer.
Post Reply