Fixing an issue with default modes on RO file systems.