Answer the question
In order to leave comments, you need to log in
How to automatically assign 777 rights to a USB device when it is connected?
I am using Ubuntu 14.04. The bottom line is that there is a USB device with a known VID PID. When it is connected, a file is created with the location /dev/bus/usb/001/006 (for example, since the last digits usually change). It is necessary that this file be given full rights for all users.
I'm using a program to interact with a USB device, but by default this file is writable only by root. It's tedious and unprofessional to write sudo chmod 777 every time you reconnect =)
Answer the question
In order to leave comments, you need to log in
The main question is why are you opening a hole? Why should an application running in user-mode have direct access to the device? That's what's really "unprofessional".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question