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

On 18/05/18 19:32, Dennis Lee Bieber wrote:
> On Fri, 18 May 2018 16:53:18 +0100, RobH  declaimed the
> following:
>
>>>
>> 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.
>>
>
>  Why are you trying to put the /script/ there?

Because another poster told me to do that:
This is what I was told:

 > in your script ON THE PI, save to *local directory* /mnt/CCTV/PiZero
 > and the file will show up on the *remote directory* on the nas.

That is what I have right now: //mnt/CCTV/PiZero,  in the python script
>
>
>
>
>  Remember -- I don't have a real NAS, so I'm using a variation of
> "mount" to redirect part of the file system itself to a mount point.
>
> pi@raspberrypi:~$ ls
> Desktop    Downloads  oldconffiles  Public        Templates
> Documents  Music      Pictures      python_games  Videos
> pi@raspberrypi:~$ ls Public
>
>  Nothing in the "Public" directory... so create a directory tree within
> it... This is supposed to be the NAS directory tree (what you would find if
> you logged into the NAS itself).
>
> pi@raspberrypi:~$ mkdir Public/myFakeNAS
> pi@raspberrypi:~$ mkdir Public/myFakeNAS/aSubDir
>
When I do that mkdir Public/myFakeNAS
it returns
mkdir: cannot create directory 'Public/myFakeNAS': no such file or directory
>

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