[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] chmod command
- Subject: Re: [cobalt-users] chmod command
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Wed Oct 24 07:48:03 2001
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Adrian Boismoreau" <aboismoreau@xxxxxxxxxxxxxxx> wrote:
<snip>
> You can do the following from Telnet/SSH:
>
> cd /home/sites/<sitex>/
> chown <user>.<sitex> -R web
</snip>
Declan was asking about chmod (permissions), not chown (ownership). Declan,
unless you installed a Cobalt package that changed the user directories'
permissions the logical explanation is that someone changed the permissions,
possibly unintentionally. My suggestion is to create a new user through the
GUI, note the permissions for that user's directory and set your current
user's directory to be the same as those, then delete the new user (unless
you want to keep it).
"man chmod" explains how to use chmod. In a nutshell, (r)ead = 4, (w)rite =
2, e(x)ecute = 1 and from left to write in groups of 3 are the user, group
and world permissions. Permission settings are additive so to make a user
rwxrw-r-x you'd to chmod 765 dirname (7=4+2+1, 6=4+2, 5=4+1) and if you see
an "s" in the group executable slot additionally do chmod g+s dirname. I
hope that gets you started. Use google.com to search for "chmod tutorial"
if you need more info. If you're worried you'll mess something up, backup
the files first or create a temporary directory to practice in.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/