Skip to content

Commit c941e87

Browse files
committed
Fixed permissions issue on *nix
1 parent b70ec45 commit c941e87

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/LightningDB/LightningEnvironment.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public LightningEnvironment(string directory, EnvironmentOpenFlags openFlags, Un
3434
_shouldDispose = true;
3535

3636
_handle = handle;
37+
_accessMode = accessMode;
3738

3839
this.Directory = directory;
3940
_openFlags = openFlags;

src/LightningDB/UnixAccessMode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public enum UnixAccessMode : uint
3333
/// <summary>
3434
/// S_IXGRP
3535
/// </summary>
36-
GroupExecute = 0x0008,
36+
GroupExec = 0x0008,
3737

3838
/// <summary>
3939
/// S_IROTH
@@ -48,7 +48,7 @@ public enum UnixAccessMode : uint
4848
/// <summary>
4949
/// S_IXOTH
5050
/// </summary>
51-
OtherExecute = 0x0001,
51+
OtherExec = 0x0001,
5252

5353
Default = OwnerRead | OwnerWrite | GroupRead | GroupWrite | OtherRead | OtherWrite
5454
}

0 commit comments

Comments
 (0)