Skip to main content

owner_only

Function owner_only 

Source
pub fn owner_only(path: &Path) -> Result<(), String>
Expand description

Make path owner-only on Unix: 0700 for a folder, 0600 for a file. On Windows it keeps the per-user ACL of the profile it lives in.