nix::unistd

Function setfsuid

source
pub fn setfsuid(uid: Uid) -> Uid
Expand description

Set the user identity used for filesystem checks per-thread. On both success and failure, this call returns the previous filesystem user ID of the caller.

See also setfsuid(2)