Method lrs::file::File::rel_change_mode

Change the mode of a file relative to this file.

Syntax

impl File {
    fn rel_change_mode<P>(&self, path: P, mode: Mode) -> Result<(), Errno>
        where P: ToCString,
}

Arguments

NameDescription
path

A path to the file.

mode

The new mode of the file.

Remarks

If the path is relative, this file must be a directory and the path will be interpreted relative to it.

See also