deal with non-writable home dir