module Mode: sig
.. end
Various bits in a file's mode (permissions). See chmod(2).
val xusr : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is executable by owner. (accessor, required)
val set_xusr : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val wusr : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is writeable by owner. (accessor, required)
val set_wusr : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val rusr : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is readable by owner. (accessor, required)
val set_rusr : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val xgrp : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is executable by group. (accessor, required)
val set_xgrp : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val wgrp : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is writeable by group. (accessor, required)
val set_wgrp : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val rgrp : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is readable by group. (accessor, required)
val set_rgrp : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val xoth : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is executable by everyone. (accessor, required)
val set_xoth : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val woth : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is writeable by everyone. (accessor, required)
val set_woth : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val roth : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File is readable by everyone. (accessor, required)
val set_roth : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val suid : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File has set-user-id bit set. (accessor, required)
val set_suid : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val sgid : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File has set-group-id bit set. (accessor, required)
val set_sgid : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val sticky : < stat : < mode : Line.present; .. >; .. > Line.t -> bool
File has sticky bit set. (accessor, required)
val set_sticky : bool ->
(< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val bits : < stat : < mode : Line.present; .. >; .. > Line.t -> int
The entire mode word, as used by chmod. (accessor, required)
val set_bits : int -> (< stat : < mode : Line.present; .. >; .. > as 'a) Line.t -> 'a Line.t
val create : xusr:bool ->
wusr:bool ->
rusr:bool ->
xgrp:bool ->
wgrp:bool ->
rgrp:bool ->
xoth:bool ->
woth:bool ->
roth:bool ->
suid:bool ->
sgid:bool ->
sticky:bool ->
bits:int ->
< delim : 'a; fstab : 'b; group : 'c; key_value : 'd; mailcap : 'e;
passwd : 'f; ps : 'g; seq : 'h; source : 'i;
stat : < blksize : 'j; blocks : 'k; mode : Line.absent > >
Line.t ->
< delim : 'a; fstab : 'b; group : 'c; key_value : 'd; mailcap : 'e;
passwd : 'f; ps : 'g; seq : 'h; source : 'i;
stat : < blksize : 'j; blocks : 'k; mode : Line.present > >
Line.t