Is it dangerous to have several parallel jobs create the same directory using mkdir -p
? (This is under Linux.)
In my case, I send many jobs to a SUN grid to process them in parallel, and some of these jobs start by creating a certain directory foo
. So, the execution of the different mkdir
commands might happen at exactly the same time ...