don't write to read-only directory