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

On 2018-05-20 20:00, RobH wrote:
> I did sudo chown pi:pi /mnt/CCTV/PiZero and sudo chown pi:pi /mnt/CCTV
>
> Then I:
> pi@raspberrypi:~ $ sudo mount //192.168.0.22/CCTV/PiZero /mnt/CCTV/PiZero
> Password for root@//192.168.0.22/CCTV/PiZero:  ******
> pi@raspberrypi:~ $
>
> No error messages of any kind now, so in the script you provided, where
> or what should I change to incorporate FreeNAS ip address.

great.
before fiddling with the script try this

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

check on you nas if you see the file at CCTC/piZero
if you do - then try the script

if you get permission denied, try

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

check again.

if ok (you see in in the nas)
remove the file with

sudo rm /mnt/CCTV/PiZero/test.txt


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

(note '-R' for recursive)

and try again

echo "test" > /mnt/CCTV/PiZero/test.txt
if ok, try the script






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