title: libusb cannot open USB device, permission isse. NetBeans/Ubuntu
body: <p>I'm writing a C/C++ application in NetBeans based on libusb-1.0 on Ubuntu 12.04.
  I can get basic information from the USB device (for example, the interface description) but I am not able to open the device.
  The function libusb_open gives me the error:</p>
  
  <pre><code>libusb:error [op_open] libusb couldn't open USB device /dev/bus/usb/002/003: Permission denied.
  libusb:error [op_open] libusb requires write access to USB device nodes.
  </code></pre>
  
  <p>I understand that I need to change the permissions but I don't know how (I am a very basic Linux-user). Thank you!</p>