Skip to content

Commit 5c255eb

Browse files
committed
Update
1 parent 109f5ad commit 5c255eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Services/Storage/StorageSecurityService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public unsafe WIN32_ERROR AddAce(string szPath, bool isFolder, string szSid)
219219
PInvoke.ConvertStringSidToSid(new PCWSTR(cSid), &pSid);
220220

221221
bResult = PInvoke.AddAccessAllowedAceEx(
222-
pDACL,
222+
pNewDACL,
223223
ACE_REVISION.ACL_REVISION,
224224
isFolder ? ACE_FLAGS.CONTAINER_INHERIT_ACE | ACE_FLAGS.OBJECT_INHERIT_ACE : ACE_FLAGS.NO_INHERITANCE,
225225
0x2000A9 /* READ & EXECUTE */,

0 commit comments

Comments
 (0)