pub fn chmod_tree_writable(root: &Path)Expand description
Make every real directory under root writable+executable by the owner
(0o700) so a subsequent std::fs::remove_dir_all can delete a tree that
contains read-only directories (e.g. Fedora’s 0o555 ca-trust), skipping
symlinks. Best-effort.
Call this immediately before remove_dir_all(root).