File tmp.lic must be writable