Permission Denied in Ubuntu

I have install Arduino IDE on my Ubuntu 20.04 but I can't upload any code due to permission denied. I try add my self to the dialout group, tty group or chmod 666, ... but it's only work for one upload after reboot my computer.
Can anyone tell me what I need to do to fix that :frowning:

Modemmanager might be the cause of this problem. There are instructions here for both temporarily disabling it to see if the problem goes away, and then permanenty removing it if it is:

I tried to stop ModemManager but it's still not working :frowning:

sudo adduser YourUserName dialout

Logout and login after you run adduser (or reboot).