you can grab this with `tmpdir.join("madedir").stat().mode`