Function tokio_fs::set_permissions
source · [−]pub fn set_permissions<P: AsRef<Path>>(
path: P,
perm: Permissions
) -> SetPermissionsFuture<P>
Expand description
Changes the permissions found on a file or a directory.
This is an async version of std::fs::set_permissions