My system is Ubuntu 13.04 and it works fine, but I have installed VirtuaBox to run Windows XP, which is essential for me to run an application that dialogues with an alarm setup by a USB-to-Serial adapter.
VirtualBox uses ttyS0 as a Serial port and the communication can start efficiently only if command
sudo chmod 666 /dev/ttyS0 is given to Terminal.
Every time I boot Ubuntu,
ttyS0 permissions return to the default values and I have to run
chmod every time I boot-up.
My question is: how can I change /dev/ttyS0 file permission permanently? If this is not a good practice, are there other manners to solve the issue?