Here's a reproducer, which should run indefinitely and instead breaks
soon.

f=$(mktemp)
while d=$(mktemp -d); do
  install -D "$f" "$d/a/b/c" & p=$!
  install -D "$f" "$d/a/d/e" & q=$!
  wait "$p" && wait "$q" || break
  rm -rf "$d"
done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151166

Title:
  Race in install -D fails to create parent directories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2151166/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to