I am trying to set up Linux (Debian 9) machines in a computer lab to let users plug in their arduino interface and flash their device with their code.
I do not really know about arduino and so on, and my arduino users do not know about linux. I also have never really done things with udev.
I am inspecting the script in the arduino IDE distro. It creates udev rules which I think are aimed at populating /dev with devices when a range of arduino-compatible interfaces are plugged in.
The devices belong to specific user groups and the scripts adds the current user to said groups to make things work. Now, I need all people who use these machines to be able to use arduino, but I do not want to add them all to the groups (this would require changing the ldap config which is out of my realm).
I am tempted to tweak the udev rules in the scripts to set the devices to mode 666 instead of 660.
Is this a reasonable way to achieve what I want ?
(also, if you think letting all users have access is a terrible idea, please say so and explain ; I assume that the arduino card is just a serial-like peripheral so it cannot per se do more harm to the system than a keyboard but I may be wrong)
Asked by ysalmon
(361 rep)
Nov 28, 2018, 09:45 PM