From 6e50fca2dd2d9a35cab82327994ed8589b3e7ca4 Mon Sep 17 00:00:00 2001 From: Pavel Shamis Date: Sun, 13 Jan 2008 19:23:11 +0000 Subject: [PATCH] Fixing permissions for XRC domain file. This commit was SVN r17127. --- ompi/mca/btl/openib/btl_openib_xrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/btl/openib/btl_openib_xrc.c b/ompi/mca/btl/openib/btl_openib_xrc.c index 32a0ee488d..a260c4dcab 100644 --- a/ompi/mca/btl/openib/btl_openib_xrc.c +++ b/ompi/mca/btl/openib/btl_openib_xrc.c @@ -50,7 +50,7 @@ int mca_btl_openib_open_xrc_domain(struct mca_btl_openib_hca_t *hca) return OMPI_ERROR; } - hca->xrc_fd = open(xrc_file_name, O_CREAT); + hca->xrc_fd = open(xrc_file_name, O_CREAT, S_IWUSR|S_IRUSR); if (0 > hca->xrc_fd) { BTL_ERROR(("Failed to open XRC domain file %s, errno says %s\n", xrc_file_name,strerror(errno)));