TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ACCOUNT TO
from: DENNIS LEE BIEBER
date: 2018-05-20 22:33:00
subject: Re: ftp causing invalid s

On Sun, 20 May 2018 20:08:55 +0100, RobH  declaimed the
following:

>I mounted the directory again:
>
>pi@raspberrypi:~ $ sudo mount //192.168.0.22/CCTV/PiZero
>/mnt/CCTV/PiZero -o username=root,password=******
>
>Then I ran the python script:
>
>pi@raspberrypi:~ $ python intruder_recmotion.pyTraceback (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-20-20_20.02.21.h264'
>
 
 You might need to do the "sudo chown" stuff to allow the non-root
account to write to the mount point.


>
>Then :
>
>pi@raspberrypi:~ $ rm /run/shm/*.h264
>pi@raspberrypi:~ $ rm /dev/shm/*.h264
>rm: cannot remove '/dev/shm/*.h264': No such file or directory

 Sort of expected -- as I mentioned, it seems that /run/shm and /dev/shm
both are two paths for the same actual directory.


--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

--- 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™.