From: Thomas Bluemel Date: Mon, 9 Jan 2006 00:30:33 +0000 (+0000) Subject: fixed desired access rights in GetFileSecurityW X-Git-Tag: backups/expat-rbuild@40467~419 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=fe46130e76dfd363fe2778b427a11a07273890e3;hp=88d5da795e3b2d1085ff9dc1d7363f882a450f16;ds=inline fixed desired access rights in GetFileSecurityW svn path=/trunk/; revision=20744 --- 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)