Change all files to have appropriate permissions