cd /etc/udev/rules.d/80-usbprog.rules vi 80-usbprog.rules
In this file add the following lines:
# AVR ISP ATTR{idVendor}=="03eb", ATTR{idProduct}=="2104", GROUP="users", MODE="0660" # AVR Dragon ATTR{idVendor}=="03eb", ATTR{idProduct}=="2107", GROUP="users", MODE="0660" # JTAG ICE MkII ATTR{idVendor}=="03eb", ATTR{idProduct}=="2103", GROUP="users", MODE="0660"
If you want to enable other USB devices for users access, just check the output of lsusb command.
$$ lsusb ... Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 009: ID 03eb:2103 Atmel Corp. JTAG ICE mkII Bus 002 Device 003: ID 07d1:3c03 D-Link System DWL-G122 802.11g Adapter [ralink rt73] Bus 002 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub ...
Thanks to the german description at: http://www.wiki.elektronik-projekt.de/mikrocontroller/avr/avrdude
Add the following line at the end of file /etc/udev/rules.d/50-udev.rules
SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="3eb/2103/*", RUN+="/bin/sh -c '/bin/chgrp uucp $env{DEVICE} ; /bin/chmod g+w $env{DEVICE}'"