rustix::fs

Function fchmod

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

fchmod(fd, mode)—Sets open file or directory permissions.

This implementation does not support OFlags::PATH file descriptors, even on platforms where the host libc emulates it.

§References