Skip to main content

private_dir

Function private_dir 

Source
fn private_dir(dir: &Path) -> Option<()>
Expand description

Make dir (mode 0700), or accept it if it already exists as a real directory owned by this user that no one else can enter. /tmp is shared: someone else could have made the directory, or a symlink in its place.