Arduino connection/permission error

I have previously used arduino successfully on linux, but a few weeks ago I decided to give Fedora Plasma a try.
Today was the first time I had some time to do some proffie stuff. Arduino finds the board, but when compiling or looking at the monitor it states:

Cannot perform port reset: 1200-bps touch: opening port at 1200bps: Permission denied. Could not connect to /dev/ttyACM0 serial port. 

I have done a bunch of searches and have not seen much about this error except for on windows locking the port.

Any ideas?
Fedora 43 KDE
Arduino 2.3.6 appimage

Found thisd and it worked:

sudo chmod a+rw /dev/ttyACM0

Not sure why it happened with this version, as I think it worked fine in Fedora Gnome.

Nope still having issues. I could see the monitor, but now it compiles and counts down to 1 and says “fail”. Maybe once the board reboots the permissions are lost?

/home/nathan/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld:/home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/variants/STM32L452RE-ProffieboardV3/linker_scripts/STM32L452RE_FLASH.ld:224: warning: memory region `SRAM2' not declared
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: note: see the '-flto' option documentation for more information
/home/nathan/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld: warning: start of section .bss changed by 8
Sketch uses 163136 bytes (32%) of program storage space. Maximum is 507904 bytes.
Cannot perform port reset: 1200-bps touch: opening port at 1200bps: Permission denied
10
9
8
7
6
5
4
3
2
1
FAIL

This is a temporary fix. The correct fix can be found here:

(Specifically, copying the udev rules.)

doh! I totally forgot about those setup steps. Thanks!

The solution to any permission issues on Linux are more users, more groups, and more udev rules ;p

1 Like