Function file_owner::set_owner_group [−][src]
pub fn set_owner_group<E1: Into<FileOwnerError>, E2: Into<FileOwnerError>>(
path: impl AsRef<Path>,
owner: impl TryInto<Owner, Error = E1>,
group: impl TryInto<Group, Error = E2>
) -> Result<(), FileOwnerError>
Sets owner and group to file at the given path.