title: /dev/ttyACM0: permission denied on openSUSE
body: <p>I am trying to use an "Arduboy," based on the Arduino Leonardo, with the Arduino IDE. I cannot upload the example code, however, because of the following error:</p>
  
  <pre><code>avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
  Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
  </code></pre>
  
  <p>Before you mark this as a duplicate, here are all of the things I have tried</p>
  
  <ul>
  <li>Adding myself to the <code>dialout</code> group that <code>/dev/ttyACM0</code> can be modified by</li>
  <li>Running <code>chmod a+rw /dev/ttyACM0</code> every time I plug in the board</li>
  <li>Making this udev rule: <code>KERNEL=="ttyACM0", MODE="0666"</code></li>
  </ul>
  
  <p>None of these things worked. What <em>did</em> work was running it with <code>xdg-su</code> like so: <code>xdg-su -c ./arduino</code>. However, I think it's not the best idea to run the thing as root every time. Is there <em>anything</em> I can do?</p>
  
  <p>I am running openSUSE Tumbleweed.</p>