VirtualBox

Changeset 38456 in vbox


Ignore:
Timestamp:
Aug 15, 2011 10:16:40 AM (13 years ago)
Author:
vboxsync
Message:

GuestCtrl: Disable copying directories from guest -> host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r38453 r38456  
    16341634                || Utf8CurSource.endsWith("\\"))
    16351635            {
    1636                 if (pszFilter) /* Directory with filter. */
    1637                     vrc = ctrlCopyDirExistsOnSource(pContext, pszSourceRoot, &fExists);
    1638                 else /* Regular directory without filter. */
    1639                     vrc = ctrlCopyDirExistsOnSource(pContext, pszSource, &fExists);
     1636#ifndef DEBUG_andy
     1637                if (pContext->fHostToGuest)
     1638                {
     1639#endif
     1640                    if (pszFilter) /* Directory with filter. */
     1641                        vrc = ctrlCopyDirExistsOnSource(pContext, pszSourceRoot, &fExists);
     1642                    else /* Regular directory without filter. */
     1643                        vrc = ctrlCopyDirExistsOnSource(pContext, pszSource, &fExists);
     1644#ifndef DEBUG_andy
     1645                }
     1646                else
     1647                {
     1648                    RTMsgError("Copying of guest directories to the host is not supported yet!\n");
     1649                    vrc = VERR_NOT_IMPLEMENTED;
     1650                }
     1651#endif
    16401652            }
    16411653            else
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