Function fchmod

Source
pub fn fchmod<Fd: AsFd>(fd: Fd, mode: Mode) -> Result<()>
Available on crate feature fs only.
Expand description

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

ยงReferences

fchmod(2).