enum LMDB::FileMode

Overview

Unix file access privilegies.

Defined in:

lmdb/environment.cr

Enum Members

OwnerRead = 256
OwnerWrite = 128
OwnerExec = 64
GroupRead = 32
GroupWrite = 16
GroupExec = 8
OtherRead = 4
OtherWrite = 2
OtherExec = 1
Default = 438

Read/Write access for everyone

OwnerAll = 448
GroupAll = 56
OtherAll = 7
None = 0
All = 511

Instance Method Summary

Instance Method Detail

def default? #

[View source]
def group_all? #

[View source]
def group_exec? #

[View source]
def group_read? #

[View source]
def group_write? #

[View source]
def none? #

[View source]
def other_all? #

[View source]
def other_exec? #

[View source]
def other_read? #

[View source]
def other_write? #

[View source]
def owner_all? #

[View source]
def owner_exec? #

[View source]
def owner_read? #

[View source]
def owner_write? #

[View source]