Function rustix::fs::chmodat

source ·
pub fn chmodat<P: Arg, Fd: AsFd>(dirfd: Fd, path: P, mode: Mode) -> Result<()>
Expand description

fchmodat(dirfd, path, mode, 0)—Sets file or directory permissions.

See fchmodat_with for a version that does take flags.

References