only tmp is writable