[PATCH v9 3/4] server: Open file read-only when writing only attributes.