Fix file permissions.
Remove settings that are the same as the defaults.