On 2018-05-22 12:49, RobH wrote:
>
> So I tried:
> sudo chown -R pi:pi /mnt/CCTV/PiZero
>
> then:
> pi@raspberrypi:~ $ python intruder_recmotion.py
> Traceback (most recent call last):
> File "intruder_recmotion.py", line 37, in
> shutil.copyfile(RAMname, NASname)
> File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
> with open(dst, 'wb') as fdst:
> IOError: [Errno 13] Permission denied:
> '/mnt/CCTV/PiZero/2018-050-22_11.44.02.h264'
> pi@raspberrypi:~ $
>
> Again, the files are being created, but are all 0 bytes.
what does ls -la /mnt/CCTV/PiZero say?
(run the command and paste its output here)
--
--
Björn
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|