title: Insufficient permissions for device in Android Studio Workspace running in openSUSE 13.2
body: <p>I have a rooted Motorola Defy+ running a Cyanogenmod v11 custom ROM (nightly build) created by <a href="http://quarx2k.ru/">Quarx</a>. Using Android Studio Workspace,(ASW) v.1.1.0, when I try and debug on this device, I get </p>
  
  <pre><code>????????????[null]
  </code></pre>
  
  <p>listed in the <em>Choose Device</em> window, with the Logcat window showing </p>
  
  <pre><code>insufficient permissions for device
  </code></pre>
  
  <p>I would really like to use this device and ROM for debugging purposes.</p>
  
  <p>When I enter <code>lsusb</code> from the command line I get,</p>
  
  <pre><code>Bus 002 Device 002: ID 22b8:431d Motorola PCS
  </code></pre>
  
  <p>This is the correct device id for Motorola units. I have installed 51-android.rules and 71-android.rules in <code>/etc/udev/rules.d/</code> with the correct Motorola ids in these files.</p>
  
  <p>I've also tried <em>Revoke USB debugging authority</em>, from <em>Developer Options</em> on the device, with no luck.</p>
  
  <p>I have not tried running ASW as root hoping that there might be another option; is there?</p>
  
  <p><strong>Update:</strong> I was able to get in and access ADB by</p>
  
  <pre><code>uvachem-gsmith2:/home/greg/Android/Sdk/platform-tools # ./adb
  </code></pre>
  
  <p>I then did a kill server, did an SU to root user and restarted the server. I then tried to connect to the device from Android Studio. Got a message on the device about accepting the RSA key from the PC, said "Yes" and then was able to deploy the app to the device. So back to my original question, Is there another way to access this device without logging in as root? It seems as if there is a permission issue on the phone file system that is preventing this...</p>
  
  <p><strong>Update #2</strong> The core problem here was a permission thing. Even though running ADB as root will allow access to the <em>rooted</em> Android device, a better solution is to change permissions in the udev file for this device...resetting 664 to 666, (see answer below). This allows the PC to access the file system on the device.</p>