Archive for June, 2010

I put this here so I know where to look when I need the command ;)

For files:

find . -type -f -exec chmod 644 {} \;

For directories:

find . -type -d -exec chmod 755 {} \;

Hope this will help others :)