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.

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

References