Changes the owner of a file relative to this file without following symlinks.
impl File {
fn rel_change_owner_no_follow<P>(&self, path: P, user: u32, group: u32) -> Result<(), Errno>
where P: ToCString,
}| Name | Description |
|---|---|
| path | A path to the file. |
| user | The user id of the new owner. |
| group | The group id of the new owner. |
If the path is relative, this file must be a directory and the path will be interpreted relative to it.