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)
|