TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: =?UTF-8?Q?BJ=C3=B6RN_LUND
date: 2018-05-22 19:56:00
subject: Re: ftp causing invalid s

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.