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

On 2018-05-18 17:53, RobH wrote:
> I am getting permission denied when I try to save the python script to
> /mnt/CCTV/PiZero.
> How can I use sudo to do that.

1 - you should save your *picture* there, *not* the scrip
2 - ls -la /mnt/CCTV/PiZero gives you that root owns it
     fix by making pi the owner

sudo chown -R pi:pi /mnt/CCTV/PiZero


then try

echo "test" > /mnt/CCTV/PiZero/test.txt

and see if it turns up at the NAS.
but mount the NAS first.





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