make tmp directory writable