Avrdude Permission error

I have tried uploading files on my Archlinux machine with platformio but i get permission errors, unless i start atom with root rights (add once the platformio ide) and upload everything onto my
Atmega32u4 (Sparkfun Pro Micro Clone from china).
Everything seems to be set, i have udev rules, i am added to the groups of uucp, and tty.
But still it fails to upload without root rights.

pastebin

ArduinoIDE had the same problem. So either it has something to do with your current avrdude version or else i don’t know.

The problem is with udev rules.

  1. Give me please an output of platformio sesrialports list
  2. Share here your udev.rules.
  3. Check permission of ls -l /dev/ttyACM3
/dev/ttyS0
----------
Hardware ID: n/a
Description: n/a

/dev/ttyACM3
------------
Hardware ID: USB VID:PID=1B4F:9205 SER=HIDPC LOCATION=2-1.1
Description: SparkFun Pro Micro

/dev/ttyACM2
------------
Hardware ID: USB VID:PID=0BDB:1911 SER=C6A2B95262D99FC0 LOCATION=2-1.4
Description: F5521gw - F5521gw Mobile Broadband GPS Port

the plaftformio output

/dev/ttyACM1
------------
Hardware ID: USB VID:PID=0BDB:1911 SER=C6A2B95262D99FC0 LOCATION=2-1.4
Description: F5521gw - F5521gw Mobile Broadband Data Modem

/dev/ttyACM0
------------
Hardware ID: USB VID:PID=0BDB:1911 SER=C6A2B95262D99FC0 LOCATION=2-1.4
Description: F5521gw - F5521gw Mobile Broadband Modem

My Arduino udev rule

SUBSYSTEM=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9205", ATTRS{serial}=="/dev/ttyACM3", GROUP="users", MODE="0660"

and my permission of ttyACM3

crw-rw---- 1 root uucp 166, 3 10. Jun 07:31 /dev/ttyACM3

I can’t find a problem here. Would love to get some help

You have mistake near MODE. It should be MODE:="0666". In any case, please try to replace with this line:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9205", MODE:="0666"

and restart udev service ot reboot.