From fe46130e76dfd363fe2778b427a11a07273890e3 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Mon, 9 Jan 2006 00:30:33 +0000 Subject: [PATCH 1/1] fixed desired access rights in GetFileSecurityW svn path=/trunk/; revision=20744 --- reactos/lib/advapi32/sec/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/advapi32/sec/misc.c b/reactos/lib/advapi32/sec/misc.c index 0e05ff54ff8..12b50e49d45 100644 --- a/reactos/lib/advapi32/sec/misc.c +++ b/reactos/lib/advapi32/sec/misc.c @@ -213,7 +213,7 @@ GetFileSecurityW(LPCWSTR lpFileName, if (RequestedInformation & (OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION)) { - AccessMask |= STANDARD_RIGHTS_READ; + AccessMask |= READ_CONTROL; } if (RequestedInformation & SACL_SECURITY_INFORMATION) -- 2.17.1