Add a file resource default to set all file permissions.
Merge pull request #329 from klynton/add-userprefs-permissions

Add a file resource default to set all file permissions.