Whamcloud - gitweb
LU-13754 gss: open sptlrpc init channel in R+W mode
[fs/lustre-release.git] / lustre / utils / gss / svcgssd_main_loop.c
index 18f7985..bfd0624 100644 (file)
@@ -73,7 +73,7 @@ svcgssd_run()
                int save_err;
 
                while (f == NULL) {
-                       f = fopen(gss_rpc_channel_path, "rw");
+                       f = fopen(gss_rpc_channel_path, "r+");
                        if (f == NULL) {
                                printerr(4, "failed to open %s: %s\n",
                                         gss_rpc_channel_path, strerror(errno));