Tuesday, October 5, 2010

chmod file / folder separately

$ sudo find $dirname -type f -exec chmod 664 {} \;

find files in dirname, then change mod to 664