Updated default directory and file permissions.