View | Details | Raw Unified | Return to ticket 8392
Collapse All | Expand All

(-)a/src/plugins/mpi/pmix/pmixp_agent.c (+3 lines)
Lines 135-140 static int _server_conn_read(eio_obj_t *obj, List objs) Link Here
135
			/* read command from socket and handle it */
135
			/* read command from socket and handle it */
136
			pmixp_server_direct_conn(fd);
136
			pmixp_server_direct_conn(fd);
137
137
138
		} else {
139
			/* Unexpected trigger. Close fd */
140
			close(fd);
138
		}
141
		}
139
	}
142
	}
140
	return 0;
143
	return 0;
(-)a/src/plugins/mpi/pmix/pmixp_utils.c (-5 / +5 lines)
Lines 557-563 int pmixp_fixrights(char *path, uid_t uid, mode_t mode) Link Here
557
	char nested_path[PATH_MAX];
557
	char nested_path[PATH_MAX];
558
	DIR *dp;
558
	DIR *dp;
559
	struct dirent *ent;
559
	struct dirent *ent;
560
	int rc;
560
	int rc = 0;
561
561
562
	/*
562
	/*
563
	 * Make sure that "directory" exists and is a directory.
563
	 * Make sure that "directory" exists and is a directory.
Lines 585-591 int pmixp_fixrights(char *path, uid_t uid, mode_t mode) Link Here
585
				PMIXP_ERROR_STD("cannot fix permissions for "
585
				PMIXP_ERROR_STD("cannot fix permissions for "
586
						"\"%s\"",
586
						"\"%s\"",
587
						nested_path);
587
						nested_path);
588
				return -1;
588
				goto exit;
589
			}
589
			}
590
			pmixp_rmdir_recursively(nested_path);
590
			pmixp_rmdir_recursively(nested_path);
591
		} else {
591
		} else {
Lines 593-604 int pmixp_fixrights(char *path, uid_t uid, mode_t mode) Link Here
593
				PMIXP_ERROR_STD("cannot fix permissions for "
593
				PMIXP_ERROR_STD("cannot fix permissions for "
594
						"\"%s\"",
594
						"\"%s\"",
595
						nested_path);
595
						nested_path);
596
				return -1;
596
				goto exit;
597
			}
597
			}
598
		}
598
		}
599
	}
599
	}
600
exit:
600
	closedir(dp);
601
	closedir(dp);
601
	return 0;
602
	return rc;
602
}
603
}
603
604
604
int pmixp_mkdir(char *path, mode_t rights)
605
int pmixp_mkdir(char *path, mode_t rights)
605
- 

Return to ticket 8392