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

On 15/06/18 10:57, Andy Burns wrote:
> RobH wrote:
>
>> When I do ls on the root of pi:
>>
>> pi@raspberrypi:~ $ ls
>> Desktop    Downloads  Public    Templates
>> Documents  Music      Pictures  python_games  Videos
>> pi@raspberrypi:~ $
>>
>> the /mnt directory is not listed or showing
>
> That's because you are within your "home" folder
> /home/pi
>
>> and that is because ls only lists what is under /pi   while /mnt is
>> under /
>
> Why would you expect the ls command to list files that are not in the
> current folder, unless you specify an absolute path?
>
> you could
> cd /
> ls
>
> or you could
> ls /
>
>> Just out of interest, I have created a /mnt directory under /pi, and
>> also CCTV/PiZero, then changed permissions and ownership for all the
>> directories.
>
> Trying not to sound condescending, we all had to start somewhere, but I
> think for your various issues it would help you to brush up your general
> linux and bash knowledge, making it easier to help you ...

Ok I forgot about cd / and ls /, as it was a looong time ago when I last
used it.

Anyways it took a reboot of the PiZero to sort out the permissions on /mnt.

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