Adding owner and group and fixing up permissions.