You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/18 19:12:03 UTC

svn commit: r805501 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c

Author: mturk
Date: Tue Aug 18 17:12:03 2009
New Revision: 805501

URL: http://svn.apache.org/viewvc?rev=805501&view=rev
Log:
Fix copy/paste typo

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c?rev=805501&r1=805500&r2=805501&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c Tue Aug 18 17:12:03 2009
@@ -86,16 +86,16 @@
                                                          FILE_GENERIC_READ | FILE_GENERIC_WRITE | FILE_GENERIC_EXECUTE,
                                                          0);
     }
-    if (!acr_sd_generic_users) {
+    if (!acr_sd_generic_group) {
         /* RWX access to Creator group */
-        acr_sd_generic_users = ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
+        acr_sd_generic_group = ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
                                                          GENERIC_ALL,
                                                          GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE,
                                                          GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE);
     }
-    if (!acr_sd_filesys_users) {
+    if (!acr_sd_filesys_group) {
         /* RWX file access to Creator group */
-        acr_sd_filesys_users = ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
+        acr_sd_filesys_group = ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
                                                          GENERIC_ALL | FILE_ALL_ACCESS,
                                                          GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE |
                                                          FILE_GENERIC_READ | FILE_GENERIC_WRITE | FILE_GENERIC_EXECUTE,