Fixing permissions for XRC domain file.
This commit was SVN r17127.
Этот коммит содержится в:
родитель
626e0814a2
Коммит
6e50fca2dd
@ -50,7 +50,7 @@ int mca_btl_openib_open_xrc_domain(struct mca_btl_openib_hca_t *hca)
|
|||||||
return OMPI_ERROR;
|
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) {
|
if (0 > hca->xrc_fd) {
|
||||||
BTL_ERROR(("Failed to open XRC domain file %s, errno says %s\n",
|
BTL_ERROR(("Failed to open XRC domain file %s, errno says %s\n",
|
||||||
xrc_file_name,strerror(errno)));
|
xrc_file_name,strerror(errno)));
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user