Function rsix::fs::chmodat [−][src]
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.
The flags argument is fixed to 0, so AT_SYMLINK_NOFOLLOW
is not
supported. Platform support for this flag varies widely.
Note that this implementation does not support O_PATH
file descriptors,
even on platforms where the host libc emulates it.