usb write permission


I have a problem I need write permission for my usb device.
This works: sudo chmod a+w /dev/bus/usb/001/002

If I unplug and replug it again the permissions are changed back to read only.

How do I set the default permissions to read and write?

setup a udev rule for your device.