read-only mode setting