From owner-freebsd-questions Tue Sep 25 12:29:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by hub.freebsd.org (Postfix) with ESMTP id 2083637B87C for ; Tue, 25 Sep 2001 12:29:46 -0700 (PDT) Received: by q.closedsrc.org (Postfix, from userid 1003) id D1F3B55415; Tue, 25 Sep 2001 11:55:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by q.closedsrc.org (Postfix) with ESMTP id C25B551604; Tue, 25 Sep 2001 11:55:43 -0700 (PDT) Date: Tue, 25 Sep 2001 11:55:43 -0700 (PDT) From: Linh Pham To: brain_damaged Cc: Subject: Re: your mail In-Reply-To: <200109251428.AA4001956262@florida-wireless.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 2001-09-25, brain_damaged scribbled: # 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 ? You can always use the [ugo] +/- [rwx] method to apply permissions. If you want the owner to have read/write/exec permissions, do: chmod u+rwx filename g is the group associated to the file, o is for other users/groups r is read, w is write, x is execute Try the man page for chmod for more information. # is the a good chmod for dummies ? # and what is the differences between # chmod # chroot # chown chmod is change mode/permissions chroot is change root (for more information, check the man page) chown is change owner. -- Linh Pham [lplist@closedsrc.org] // 404b - Brain not found To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message