Error opening serial port - Permission denied
The temp solution is
In terminal to execute below command
sudo chmod 666 ttyACM0
after power on-off cycle, this problem still exists
PS: the 666 means r+w
The final solution is done by adding the currently logged user into
dialout
group with the following command:
sudo usermod -a -G dial $USER