fn can_write_in(dir: &Path) -> boolExpand description
Whether this user can create and remove entries in dir, asked without
writing anything there (access(2), which also says no on a read-only
volume): a probe file at a predictable name could follow a link someone
else planted.