An attempt at a shell script to set correct directory/file permissions.