From owner-freebsd-questions Tue Sep 25 22:12:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by hub.freebsd.org (Postfix) with SMTP id D41DE37B405 for ; Tue, 25 Sep 2001 22:12:43 -0700 (PDT) Received: from dial-148-240-98-81.zone-3.dial.net.mx (HELO yahoo.com) (148.240.98.81) by smtp.mail.vip.sc5.yahoo.com with SMTP; 26 Sep 2001 05:12:42 -0000 X-Apparently-From: Message-ID: <3BB166BA.51041065@yahoo.com> Date: Wed, 26 Sep 2001 00:25:14 -0500 From: "Adriel Cardenas G." Reply-To: adrielcgx@freebsdmx.com X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RELEASE i386) X-Accept-Language: ex-MX, es-ES, en MIME-Version: 1.0 To: brain_damaged@florida-wireless.com Cc: freebsd-questions@freebsd.org Subject: Re: References: <200109251428.AA4001956262@florida-wireless.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 brain_damaged wrote: > > this is confusing to me. > when setting permissions to file/directoreis etc > and using the 775 or whatver number how do you know if a user, group or owner is accessing the file or directory ? I'm not sure of your question, but the 775 number is an octal code for setting the permission on the file or dir. And it goes something like this: 400 owner permission to read 200 owner perm to write 100 owner perm to exec an so it goes for 40/20/10 for group members and 4/2/1 for other (the rest of the world) > is the a good chmod for dummies ? man chmod man chown > and what is the differences between > chmod CHange MODe it changes the permission structure > chown CHange OWNer it changes the owner of the file/dir > and how to you decide or know which one to use. it all depends on waht you want to do > I have the walnut creek book but still CHconfusing to me. Good Luck Regards _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message