You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently fchownat<P: ?Sized + NixPath>(dirfd: Option<RawFd>, path: &P, owner: Option<Uid>, group: Option<Gid>, flag: FchownatFlags) -> Result<()> takes an enum as it's flag argument nix::unistd::FchownatFlags. Where the variants are either FollowSymlink or NoFollowSymlink. According to man 2 fchownat since Linux 2.6.39 fchownat() may also takes AT_EMPTY_PATH as part of the flags bitmask.
This is currently not possible with the current implementation provided by Nix, the enum will probably have to be changed to a bitflag.