VirtualBox

Changeset 36185 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 7, 2011 11:07:35 AM (14 years ago)
Author:
vboxsync
Message:

VBoxService: Clarification for access rights error (VERR_ACCESS_DENIED).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r36183 r36185  
    566566    rc = VbglR3Init();
    567567    if (RT_FAILURE(rc))
    568         return VBoxServiceError("VbglR3Init failed with rc=%Rrc.\n", rc);
     568    {
     569        if (rc == VERR_ACCESS_DENIED)
     570            return VBoxServiceError("Not enough rights to start %s! Please start with Administrator/root privileges!\n",
     571                                    g_pszProgName);
     572        else
     573            return VBoxServiceError("VbglR3Init failed with rc=%Rrc.\n", rc);
     574    }
    569575
    570576#ifdef RT_OS_WINDOWS
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