I was doing some microcontroller programming for the first time this week. Found out I had to 'sudo' to use 'avrdude' to write to the programmer on the USB port. Lame. After a couple hours of study learning about udev (and other worse alternatives), I put this in a file I named '/etc/udev/rules.d/85-avr.rules':
ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2104", MODE="0666"
Specifically, that's for the AVR ISP mk II (also called stk500v2).
My question is, why would I ever not want write permission to a USB device attached to my computer? Is that ever a security risk?
No comments:
Post a Comment