Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2002 12:32:39 +1030
From:      Brian Astill <bastill@sa.apana.org.au>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: A question from a convert from Windows to FreeBSD
Message-ID:  <02012512323903.01099@BAPhD.gihon.org.au>
In-Reply-To: <012001c1a4f8$9fb5eff0$c42a6ba5@lc.ca.gov>
References:  <0ffe01c1a371$661d1b20$6600640a@attbi.com> <20020124134552.F16D93F56@i8k.babbleon.org> <012001c1a4f8$9fb5eff0$c42a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 25 January 2002 03:30, Drew Tomlinson wrote:
> ----- Original Message -----
> From: "Brian T.Schellenberger" <bts@babbleon.org>
> To: <bastill@sa.apana.org.au>; <freebsd-questions@FreeBSD.ORG>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02012512323903.01099>