pub async fn set_permissions(
path: impl AsRef<Path>,
perm: Permissions,
) -> Result<()>
Available on crate feature
tokio
only.Expand description
Changes the permissions found on a file or a directory.
Wrapper for tokio::fs::set_permissions
.