posish::fs
pub fn fchmod<Fd: AsRawFd>(fd: &Fd, mode: Mode) -> Result<()>
fchmod(fd).
fchmod(fd)
Note that this implementation does not support O_PATH file descriptors, even on platforms where the host libc emulates it.
O_PATH