Use correct permissions and ownership

Forgot to include this in #6.