Function set_permissions
pub async fn set_permissions(
path: impl AsRef<Path>,
perm: Permissions,
) -> Result<()>
Available on crate feature
fs only.Changes the permissions found on a file or a directory.
This is an async version of std::fs::set_permissions
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/fs/fn.set_permissions.html