Function fchmod

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

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

References

fchmod(2).