Open
Description
Pytest cannot delete tmp_path directories without stat.S_IXUSR
mode bit set
def test(tmp_path):
p = tmp_path / "foo" / "bar" / "baz"
p.parent.mkdir(parents=True)
p.touch(mode=0)
for p in p.parents:
if p == tmp_path:
break
p.chmod(mode=0)
I'm currently working on a fix for it
see also #7933