Fix file permissions

Runs as user, will make it chown later.