Need to run IDE using sudo ?

Just installed Raspbian on yet another Raspberry Pi 3. Tried running the Arduino IDE, no problems ... until I tried to "Upload Using Programmer". I got this:

avrdude: Warning: cannot open USB device: Permission denied
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

If I run the IDE using root privileges (i.e.,sudo), of course it works.

This is not the same behavior I see on my Fedora 29 machine. No need for sudo there.

Any ideas?

Oh yeah, I'm using 1.8.9 with the latest Raspbian updates.

There should be no need for sudo. Please do this:

Thanks for the reply.

But this really doesn't apply here.

Since I'm using the Pocket AVR Programmer (SparkFun) and there's no device file (/dev/) to check which group has privileges to it.

As a matter of fact I asked about this earlier: Where's the device file for the Pocket AVR Programmer?

Never got a response.

OK, sorry I didn't read carefully enough. From the product page, it sounds like the Pocket AVR Programmer is actually a USBtinyISP that Sparkfun decided to give a different name to make things more confusing. Therefore, I think this information will apply:
AVRDUDE | USBtinyISP | Adafruit Learning System. I checked the driver to be sure and the VID and PID are indeed the same as the USBtinyISP.

That did it! Thanks!

Just added an additional udev rules file with the prescribed elixir inside and rebooted.

No need for sudo now.

You're welcome. I'm glad to hear it's working now. Enjoy!
Per