Function rustix::fs::fchown

source · []
pub fn fchown<Fd: AsFd>(
    fd: Fd,
    owner: Option<Uid>,
    group: Option<Gid>
) -> Result<()>
Available on crate feature fs only.
Expand description

fchown(fd)—Sets open file or directory ownership.

References