Note:

You are viewing a development version of the library. Goto the latest version.

Module FileUtil.Mode


module Mode: sig .. end
Permission symbolic mode.

type who = [ `All | `Group | `Other | `User ] 
type wholist = [ `All | `Group | `List of who list | `Other | `User ] 
type permcopy = [ `Group | `Other | `User ] 
type perm = [ `Exec | `ExecX | `Read | `Sticky | `StickyO | `Write ] 
type permlist = [ `Exec
| `ExecX
| `List of perm list
| `Read
| `Sticky
| `StickyO
| `Write ]
type actionarg = [ `Exec
| `ExecX
| `Group
| `List of perm list
| `Other
| `Read
| `Sticky
| `StickyO
| `User
| `Write ]
type action = [ `Add of actionarg
| `Remove of actionarg
| `Set of actionarg ]
type actionlist = [ `Add of actionarg
| `List of action list
| `Remove of actionarg
| `Set of actionarg ]
type clause = [ `All of actionlist
| `Group of actionlist
| `None of actionlist
| `Other of actionlist
| `User of actionlist ]
type t = clause list 
Typical symbolic mode: