Fix #3492, make sure filesystem is read-write