Set the correct permissions after extracting.