pub fn owner_only(path: &Path) -> Result<(), String>
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.
path