From owner-freebsd-questions Thu Jan 24 9: 0:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay02.roc.frontiernet.net (alteon01g.roc.frontiernet.net [66.133.130.237]) by hub.freebsd.org (Postfix) with SMTP id 9779137B404 for ; Thu, 24 Jan 2002 09:00:31 -0800 (PST) Received: (qmail 6375 invoked from network); 24 Jan 2002 17:00:30 -0000 Received: from unknown (HELO blacklamb.mykitchentable.net) ([207.173.227.80]) (envelope-sender ) by relay02.roc.frontiernet.net (qmail-ldap-1.03) with SMTP for ; 24 Jan 2002 17:00:30 -0000 Received: from tagalong (unknown [165.107.42.196]) by blacklamb.mykitchentable.net (Postfix) with SMTP id C3C1BEE5FD; Thu, 24 Jan 2002 09:00:27 -0800 (PST) Message-ID: <012001c1a4f8$9fb5eff0$c42a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: "Brian T.Schellenberger" , , References: <0ffe01c1a371$661d1b20$6600640a@attbi.com> <02012419032304.01209@BAPhD.gihon.org.au> <20020124134552.F16D93F56@i8k.babbleon.org> Subject: Re: A question from a convert from Windows to FreeBSD Date: Thu, 24 Jan 2002 09:00:27 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- 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. HTH, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message