Check that newly created files / directories have sane permissions.

When a new file is created, it should only be readable and writable
to the creator's UID.  Similarly, when a new directory is created,
it should only be readable, writable, and executable to the
creator's UID.

Ensure this is the case.

Change-Id: I61f3b33d2b77d8d79bbb3939e0bc092b02a65ffe
1 file changed