Arduino IDE error message when trying to upload sketch

Hello, I have also posted this on Arduino forum. But I thought I might get better info at this end.

Desktop PC with openSUSE 42.1 & Gnome + linux version of latest Arduino IDE.

I have just downloaded & installed the arduino IDE following the guide. It says to connect my Adruino Uno to usb select the arduino uno and serial port and upload the blink sketch.

I get this big red message at the bottom…

Problem uploading to board

 avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
ioctl("TIOCMGET"): Inappropriate ioctl for device
Problem uploading to board.  See for suggestions.

I looked at the Arduino troubleshooting guide but there is nothing on this problem that I could see.
I looked at ‘man ioctl’ in terminal, but it made no sense to me as I’m a newby to linux and arduino.

Can any one offer advice or help please. Thank you so much, Jon

If you add your user to the tty group via YaST -> Security and Users -> User and Group Management and edit the user and under the details tab check the box in the righthand list.

The other option (from memory as haven’t fired up the arduino in a while) would be to create a udev rule to enable users if you want more than yourself. I can investigate that for you later if you want.

Hello Sorry to bother you, It’s all fixed now. I re read the linux /arduino guide again and followed the now clear instructions and entered the ‘usermod’ changes through the terminal. Re logged in, now it works fine. Sorry again, Thanks for looking anyway. Jon

So was it adding your user to the tty group?