Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2001 11:55:43 -0700 (PDT)
From:      Linh Pham <lplist@closedsrc.org>
To:        brain_damaged <brain_damaged@florida-wireless.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: your mail
Message-ID:  <Pine.BSF.4.33.0109251151200.34459-100000@q.closedsrc.org>
In-Reply-To: <200109251428.AA4001956262@florida-wireless.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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