pub async fn set_permissions( path: impl AsRef<Path>, perm: Permissions, ) -> Result<()>
Changes the permissions found on a file or a directory.