VirtualBox

Changes between Initial Version and Version 1 of Ticket #18680, comment 1


Ignore:
Timestamp:
Apr 2, 2022 12:45:44 PM (2 years ago)
Author:
algofoogle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18680, comment 1

    initial v1  
    1212https://docs.microsoft.com/en-gb/windows/win32/api/winbase/nf-winbase-createsymboliclinka?redirectedfrom=MSDN#SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
    1313
    14 I expect (but can't verify) that it's safe and reliable and functionally equivalent to always include this bit/flag by default: it should only be observed by Windows if the user has already enabled this in Win10 (otherwise safely returning the same error just as if the bit was not included in the first place)... and it should otherwise be irrelevant and suitably ignored in the "Run as Administrator" case. Older versions of Windows would no doubt safely ignore it too.
     14I originally expected that we could just add `SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE` unconditionally and it would either be safely ignored, or safely used, depending on the Windows version and state of "Developer Mode" but instead older versions of Windows might react to this as an invalid parameter. See [[https://stackoverflow.com/questions/56343002/is-it-possible-to-use-symbolic-links-in-virtualbox-shared-folder-without-adminis#comment99344497_56363359|Eryk Sun's comment on this]].

© 2023 Oracle
ContactPrivacy policyTerms of Use