Function rustix::fs::fchmod

source · []
pub fn fchmod<Fd: AsFd>(fd: Fd, mode: Mode) -> Result<()>
Expand description

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

Note that this implementation does not support O_PATH file descriptors, even on platforms where the host libc emulates it.

References