Function set_permissions

async fn set_permissions<impl AsRef<Path>: AsRef<std::path::Path>>(path: impl AsRef<Path>, perm: Permissions) -> Result<()>

Changes the permissions found on a file or a directory.

This is an async version of std::fs::set_permissions