nix::sys::stat

Function fchmod

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

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

ยงReferences

fchmod(2).