-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Description
Hi!
Sorry to hassle you guys again. We are just in the process of trying to migrate to v2.x, and are hitting a condition that appears to have been introduced in 58d1b3f.
Some of our nodes have a per-job TMPDIR on Lustre, and we are getting tripped up because when calling mkdir on an existing path, where the user would not have permissions to create the directory, Lustre returns EACCES rather than EEXIST. This breaks the new form of the check in opal/util/os_dirpath.c
[user@host ompi ((58d1b3f4d0...))]$ mkdir /p5
mkdir: cannot create directory `/p5': File exists
(i.e. root filesystem behaves as you expected)
[user@host ompi ((58d1b3f4d0...))]$ mkdir /p5/000scratch
mkdir: cannot create directory `/p5/000scratch': Permission denied
(this causes a problem)
[user@host ompi ((58d1b3f4d0...))]$ mkdir /p5/000scratch/my_temp_dir
(but if we ignore it and just carry on trying to make the deeper components, it will work fine)
Without wanting to start an argument over whether Lustre is doing the right thing here, this seems like it might be a not-terribly-uncommon configuration?
Cheers,
Tim
Metadata
Metadata
Assignees
Labels
No labels