[LBo] Re: Installing and configuring a LAMP

Chris F.A. Johnson cfajohnson at teksavvy.com
Tue Dec 26 16:16:58 CET 2006


On Tue, 26 Dec 2006, Jisao wrote:
>
> I still have to figure out permissions.

    The permissions (as shown by 'ls -l' and some toher utilities) are
    divided into three groups of three, after removing the initial
    character which denotes the type of file.

    The first group shows the rights for the owner of the file, the
    second is for the group that owns the file, and the third is for
    everyone else.

    The characters in each group show the read, write and execute
    permissions; if the owners' permissions are rwx, the owner can
    read, write to, and execute the file; if they are rw-, the owner
    can read the file and write to it, but not execute it.

> When to edit as root,

    Only if the file is owned by root, and write permissions are not
    granted to anyone else.

> as my user,

    Whenever you have the rights to do so.

> when to navigate as a user and as root.

    Do it as a user unless the directory permissions do not allow you
    navigate the directory.

> Right now, I did go around the problem by lauching Konqueror with a
> root terminal,

    That is not a good idea.

> but I will have to eventually figure out who should do what and
> when.

-- 
    Chris F.A. Johnson                      <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


More information about the QnA mailing list