TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2018-06-14 08:23:00
subject: Re: ftp causing invalid s

On Thu, 14 Jun 2018 12:04:01 +0100, RobH  declaimed the
following:

>pi@raspberrypi:/mnt $ sudo chown -R 777 /mnt/CCTV

 Unless you have a user named "777" those parameters are wrong.
http://www.linfo.org/chown.html
"""
 The basic syntax for using chown to change owners is

    chown [options] new_owner object(s)
"""


>drwxr-xr-x 3 777 root 4096 Jun  5 09:50 CCTV
              ^^^ ^^^^

^^^ user name
^^^^ group name

 Try

chown -R pi /mnt/CCTV

 Or (untried) create a new group (call it NASuser), chown the mount
point to that group, and then add pi user to the new group.


 That 777 looks like you are trying to set permission levels (the rwx
stuff you see on the left). That command is chmod
https://www.linode.com/docs/tools-reference/tools/modify-file-permissions-with-
chmod/




--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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