check if filesystem is read only