FileUtil.Mode
Permission symbolic mode.
type clause = [
| `User of actionlist |
| `Group of actionlist |
| `Other of actionlist |
| `All of actionlist |
| `None of actionlist |
]
type t = clause list
Typical symbolic mode:
`Group (`Add `Read)
`User (`Set (`List [`Read; `Write]));
`Group (`Add (`List [`Read; `Write]));
`Other (`Remove (`List [`Read; `Write; `Exec]))
val to_string : t -> string
val apply : is_dir:bool -> umask:int -> Unix.file_perm -> t -> Unix.file_perm