Changes the owner of a file relative to a directory.
fn fchownat(dir: i32, path: &CStr, user: u32, group: u32, flags: i32) -> i32
| Name | Description |
|---|---|
| dir | The directory relative to which relative paths are interpreted. |
| path | The path of the file. |
| user | The new user owner. |
| group | |
| flags | Flags to use while changing the owner. |
Returns success or an error value.