• Execute chmod command after plug-in device.


    Hey guys. I have a question how could I automatic execute chmod command after I USB device in ?

    Well it is about Arduino. I always have to execute sudo chmod a+rw /dev/ttyACM0 when I plug-in USB with arduino connected to. I would like to do this automatic always when I plug device to computer. Probably is possible could you suggest to me ?

    Greetings,
    Marko.

  • I’ve done this with systemd… You can find a good post on the archforum!

    https://bbs.archlinux.org/viewtopic.php?id=207050

    I make things work…
    My humble wiki: https://anotherlinux.com/

device11 execute2 plug-in1 chmod1 Posts 2Views 79
Log in to reply