Function posish::fs::chmodat[][src]

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

fchmodat(dirfd, path, mode, 0)

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.