[ILUG] CHMOD

Alan Ryan alan at codecrunchers.ie
Fri Jan 9 23:45:28 GMT 2009


Just in case.....

 chmod-R 777 folder


this give *RWXRWXRWX* permissions to everything underneath 'folder',  that
may not be what you are looking to do!

You can use the find command to exercise some control over what gets
modified

...e.g.*
**
find . ! -type f -exec chmod a+w {} \;*

find everything that is not a file and make it writeable.... i.e make all
dirs writeable ...

double check that before you execute it!!!!  Permissions are nasty things
when they go awry..

Alan

2009/1/9 Lisa Muir <34.24.34 at gmail.com>

> On Fri, Jan 9, 2009 at 3:48 PM, Miguel Angel Vilela <miguev at gmail.com>
> wrote:
> > chmod 777 folder
>
> chmod -R 777 folder
> if you want to also grant world access to the existing contents of the
> folder ;-)
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>



-- 
CodeCrunchers
Custom Internet Software Development in Ireland.

http://www.codecrunchers.ie


Ph: +353 86 0484840
Skype: codecrunchers.ie



More information about the ILUG mailing list