VirtualBox

Changeset 96627 in vbox


Ignore:
Timestamp:
Sep 7, 2022 11:41:39 AM (2 years ago)
Author:
vboxsync
Message:

Add/Nt/Shfl: Disabled some code changing the ACL of the VBoxMiniRdrDN device, as it seems to result in restricting access to LOCAL users on XP RTM, preventing VBoxService from accessing it and breaking automounting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.cpp

    r96407 r96627  
    974974                            }
    975975
     976#if 0 /* 2022-09-07 bird: I've disabled this as it prevents VBoxService from accessing the redirector on Windows XP RTM.
     977       *
     978       * The default is:     Administrators=RWDPO, Everyone=R, LOCAL=RW, RESTRICTED=R, SYSTEM=RWDPO
     979       * This changes it to: LOCAL=RW
     980       * (R=read, W=write, D=delete, P=Change Permissions, O=Change Owner. WinObj advanced permissions view.)
     981       *
     982       * I'm not sure if the intention here is to create a NULL DACL, which grants unrestricted access to the device.
     983       * However, it's somehow now working for Windows XP RTM.
     984       * (See https://docs.microsoft.com/en-us/windows/win32/secauthz/null-dacls-and-empty-dacls for NULL DACL.)
     985       *
     986       * If the problem is that RESTRICTED should have RWS access, read the descriptor and modify the ACE for RESTRICTED
     987       * to grant them write access.
     988       */
    976989                            /* Allow restricted users to use shared folders; works only in XP and Vista. (@@todo hack) */
    977990                            if (Status == STATUS_SUCCESS)
     
    10241037                                }
    10251038                            }
     1039#endif
    10261040                            break;
    10271041
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette