The HAT is accessible from the OS under
/dev/ttyAMA0, but the permission is set to
root:tty rw--w---. With the proper permission set (with
sudo chmod ...), I can view the contents without problems.
The problem is that the permission is reset every reboot to the original one.
additionally, for security reasons I am using a non-privileged user and have a created a new group
gpsgrp to give it access to the GPS module.
I would prefer not to simply give this user access to the
tty and all the devices this group has access to.
How do I set the permission for this device permanently at boot?