TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: ANDY BURNS
date: 2018-06-24 20:25:00
subject: Re: ftp causing invalid s

RobH wrote:

> Ok, I was getting permission denied with everything on the
> /mnt/CCTV/PiZero folder.
>
> I removed all the existing files from the PiZero /mnt/CCTV/Pizero folder
> as they were all write protected, and had to reboot for the folder to
> show 0 files.
>
> When I do ls -l
> I get total 4
> drwxrwxrwxrwx 2 pi:pi 4096 June 24 18.47 PiZero

if you did "ls -la" you'd probably have found that . and .. were two of
the mystery three directory entries.

> Then because of a reboot, I have to:
> pi@raspberrypi:~ $ sudo mount -t cifs -o username=root,password=****
> //192.168.0.22/CCTV/PiZero/ /mnt/CCTV/PiZero

**** = oops

can you not put a suitable entry in /etc/fstab, so that PiZero gets
automatically mounted, with consistent rights?

> When I try to remove it:
> pi@raspberrypi:/mnt/CCTV $ sudo rm -r PiZero
> rm: cannot remove 'PiZero': Device or resource busy

try unmounting it first (or instead) "umount /mnt/CCTV/PiZero"

> I have also tried echo "hello" > /mnt/CCTV/test.txt , but nothing is
> created on the said directory

nothing on the Pi, or nothing on the NAS?

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