Skip to content

Instantly share code, notes, and snippets.

@probonopd
Created May 23, 2020 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save probonopd/e4ad196a26d4ee37dbe74a9916151bb2 to your computer and use it in GitHub Desktop.
Save probonopd/e4ad196a26d4ee37dbe74a9916151bb2 to your computer and use it in GitHub Desktop.

Solve all USB permissions errors

Sometimes I get "permissions denied" errors for USB devices.

Example: avrdude in Arduino.

This is the brute force method to allow all users on a Linux system to use all USB devices:

sudo chmod 666 /dev/bus/usb/*/*

TODO: Find an easy way to execute this whenever any USB device is attached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment