I need to know the top of the subpath that was just created, so I can set the gid/sticky bits only on those directories

I don't want to (try and) touch existing directories

so, say the `software/toy` directory already existing, and a call to `mkdir` was done with `software/toy/0.0/foo` was made, I only want to set the bits on `0.0` and `0.0/foo`