Fixed chown/chmod mixup