20130628

Folder with sub-folders, change rights

sudo find "foldername" -exec chmod a+rwx {} ";"

Now you have all the rights on the folder selected, including the sub-folders with all it's files.