[][src]Module dia_args::paths::permissions

Kit for Unix path permissions

These features are available on non-Unix systems, but they have no effects.

Functions

ensure_safe

Ensures that input file's permissions must be equal to, or more restrictive than the ones you provide

ensure_safe_against_program

Ensures that the input file's permissions must be equal to, or more restrictive than the program's

ensure_second_is_safe

Ensures that the second file's permissions must be equal to, or more restrictive than the first one's

match

Ensures that input file's permissions match the ones you provide

Type Definitions

Permissions

Permissions (u32)