[PATCH v6 4/4] server: Allow to open read-only files with FILE_WRITE_ATTRIBUTES