VirtualBox

Ignore:
Timestamp:
May 4, 2011 4:37:48 PM (14 years ago)
Author:
vboxsync
Message:

Main/USB/linux: return correct error codes and messages if the user does not have the right access permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp

    r36958 r36961  
    142142    else
    143143        /** @todo fix this, preferably in the next fifteen minutes. */
    144         mLastError =   RTDirExists("/dev/vboxusb") ? VERR_PERMISSION_DENIED
     144        mLastError =   RTDirExists("/dev/vboxusb") ? VERR_VUSB_USB_DEVICE_PERMISSION
    145145                     : RTFileExists("/proc/bus/usb/devices") ? VERR_VUSB_USBFS_PERMISSION
    146146                     : VERR_NOT_FOUND;
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