From owner-freebsd-questions Thu Jan 24 18: 3:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tierzero.apana.org.au (sa.apana.org.au [203.14.158.1]) by hub.freebsd.org (Postfix) with ESMTP id 0F91337B41E for ; Thu, 24 Jan 2002 18:02:56 -0800 (PST) Received: from BAPhD.gihon.org.au (dialup-13.pasa.apana.org.au [203.14.158.142]) by tierzero.apana.org.au (8.11.1/8.11.1) with SMTP id g0P22Aw97245 for ; Fri, 25 Jan 2002 12:32:10 +1030 (CST) (envelope-from bastill@sa.apana.org.au) Content-Type: text/plain; charset="iso-8859-1" From: Brian Astill Reply-To: bastill@sa.apana.org.au To: Subject: Re: A question from a convert from Windows to FreeBSD Date: Fri, 25 Jan 2002 12:32:39 +1030 X-Mailer: KMail [version 1.2] References: <0ffe01c1a371$661d1b20$6600640a@attbi.com> <20020124134552.F16D93F56@i8k.babbleon.org> <012001c1a4f8$9fb5eff0$c42a6ba5@lc.ca.gov> In-Reply-To: <012001c1a4f8$9fb5eff0$c42a6ba5@lc.ca.gov> MIME-Version: 1.0 Message-Id: <02012512323903.01099@BAPhD.gihon.org.au> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 25 January 2002 03:30, Drew Tomlinson wrote: > ----- Original Message ----- > From: "Brian T.Schellenberger" > To: ; > Sent: Thursday, January 24, 2002 5:45 AM > Subject: Re: A question from a convert from Windows to FreeBSD > > > to chmod (which means to change permissions, by the way--not sure > > why it's called "chmod") or anything else to get it to work for a > > regular user, and I > > It's called "chmod" because you are "changing the mode". Although > the command will accept arguments like +r and -x, what you are > actually doing is changing the numeric mode of a file. In each > group, the "r" is worth 4, the "w" worth 2, and the "x" is worth 1. > There are more such as the suid bit but these are the basics. So in > this file, > > -rw-r--r-- 1 root wheel 11158 Apr 20 1998 pdf_sec.ps > > the mode is 644. And in this file, > > -r-xr-xr-x 1 root wheel 3545 Jan 8 11:30 znew > > the mode is 555. Well I never! Try searching for that in a reference book if you are as ignorant as I am! Thanks very much. -- Regards, Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message