file permissions

Kim Briggs patiodragon at gmail.com
Fri Jan 27 00:57:31 UTC 2006


On 1/26/06, Ray Canzius <raycanzius at pacific.net.au> wrote:
> G'day all,
>
> I am new to Ubuntu and I  am having problems finding out how to change
> file permissions.
> Anybody give me any clues.
>
>
> Regards
>                 Ray
>
>

woo-hoo!  One that I know.

chmod  [ugo]   [+-]  [rwe]  file_name

[pick from list]

u=user
g=group
o=other
a=all

r=read = 4
w=write = 2
x=execute = 1

-R = recursively through a directory

ls command lists permissions in order of user, group, other

ex:  chmod -R 755 /home/myhome/public_html
       chmod 700 private_file.txt
       chmod a+x everybodys_program

cheers,
--
http://kimbriggs.com




More information about the ubuntu-users mailing list