Skip to main content

can_write_in

Function can_write_in 

Source
fn can_write_in(dir: &Path) -> bool
Expand 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.