Date: Sun, 7 Jan 2001 22:31:28 +1000 From: "Doug Young" <dougy@bryden.apana.org.au> To: <freebsd-questions@FreeBSD.ORG> Subject: usage of "chown" Message-ID: <013101c078a5$c4257520$847e03cb@apana.org.au>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_012E_01C078F9.93660360 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'd appreciate advice as to exactly how to use the "chown" command eg when I go to /usr/home..... what words / symbols / etc do I need to = type in order to change the ownership of a /<username> directory ??=20 I've read man chown but all that does is add to the confusion.=20 Another issue ... possibly related ..... because of the inadequate = explanation provided in man chown, the way I've been changing ownership to date is to rmuser = / adduser.=20 Whilst this does the job OK, I notice that ls -la in /usr/home shows = that the newly added account is still owned by root & is in group wheel = .... even when the group was specified as something totally different. = No systems here have ANYONE in group wheel, so what gives ?? ------=_NextPart_000_012E_01C078F9.93660360 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I'd appreciate advice as to exactly how = to use the=20 "chown" command</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>eg when I go to /usr/home..... what = words / symbols=20 / etc do I need to type in order to </FONT><FONT face=3DArial = size=3D2>change the=20 ownership of a /<username> directory ?? </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I've read man chown but all that does = is=20 </FONT><FONT face=3DArial size=3D2>add to the confusion. </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Another issue ... possibly related = ..... because of=20 the inadequate explanation provided</FONT></DIV> <DIV><FONT face=3DArial size=3D2>in man chown, the way I've been = changing ownership=20 to date is to rmuser / adduser. </FONT></DIV> <DIV><FONT face=3DArial size=3D2>Whilst this does the job OK, I = notice that ls=20 -la in /usr/home shows that the newly added account is still owned by = root &=20 is in group wheel .... even when the group was specified as something = totally=20 different. No systems here have ANYONE in group wheel, so what = gives=20 ??</FONT></DIV></BODY></HTML> ------=_NextPart_000_012E_01C078F9.93660360-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013101c078a5$c4257520$847e03cb>