Function rustix::fs::fchown

source ·
pub fn fchown<Fd: AsFd>(
    fd: Fd,
    owner: Option<Uid>,
    group: Option<Gid>
) -> Result<()>
Expand description

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

References