error occured during uploading. Error: permission denied. can not open /dev/ttvACN0
Using Arduino Uno. Trying to upload a blinking sketch. using a desktop client of xod on Ubuntu 17.10. Anybody has faced similar problem before? Thank you
error occured during uploading. Error: permission denied. can not open /dev/ttvACN0
Using Arduino Uno. Trying to upload a blinking sketch. using a desktop client of xod on Ubuntu 17.10. Anybody has faced similar problem before? Thank you
The user you’re logged in with has no permissions to work with serial ports. I think it’s default for new users in Ubuntu. See: chmod - Changing permissions on serial port - Ask Ubuntu
Let me cite the solution:
The issue with the permissions for
/dev/ttyACM0
can be permanantly solved by adding yourself to thedialout
group. You will have to logout and then log back in before the group change is recognized.
You can do this withsudo usermod -a -G dialout $USER
Thank you victor, it worked as per your advise. I am having similar problem while using xod on Windows 10. Do you have any advise for that too. I am a blogger. Intend to make a new series of video tutorial on xod for my viewers. Need to work on Windows too. I am adding screenshot of the error message below. ( Windows 10) says at the bottom of the screen - unknown Error code 121
Hi, After a few tries, I restarted my computer and the problem resolved on its own.