Setting ownership and perms

This should be the last thing we do.