nix::sys::stat

Function fchmod

Source
pub fn fchmod<Fd: AsFd>(fd: Fd, mode: Mode) -> Result<()>
Expand description

Change the file permission bits of the file specified by a file descriptor.

ยงReferences

fchmod(2).