pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> Result<()>
Expand description
Changes the permissions found on a file or a directory.
Wrapper for fs::set_permissions
.
pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> Result<()>
Changes the permissions found on a file or a directory.
Wrapper for fs::set_permissions
.