Skip to content

Commit 02a9e0c

Browse files
authored
Update StorageSecurityService.cs
1 parent ad03647 commit 02a9e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public unsafe WIN32_ERROR AddAce(string szPath, bool isFolder, string szSid)
222222
pNewDACL,
223223
ACE_REVISION.ACL_REVISION,
224224
isFolder ? ACE_FLAGS.CONTAINER_INHERIT_ACE | ACE_FLAGS.OBJECT_INHERIT_ACE : ACE_FLAGS.NO_INHERITANCE,
225-
0x2000A9 /* READ & EXECUTE */,
225+
0x20000000 | 0x80000000 /* GENERIC_EXECUTE and GENERIC_READ */,
226226
pSid);
227227

228228
if (!bResult)

0 commit comments

Comments
 (0)