Cannot write to permanent file in read only mode.