Changes the mode of an inode represented by a file descriptor.
fn fchmod(fd: i32, mode: u16) -> i32
An open file descriptor referring to an inode.
The new mode of the inode.
Returns success or an error value.
fchmod(2)