For some reason in Raspbian (Jessie) /dev/ttyAMA0
always boots with the following permissions:
ls -l /dev/ttyAMA0
crw--w---- 1 root tty 204, 64 Jun 1 21:10 /dev/ttyAMA0
I need group tty
to have read access, so emulating this solution I tried adding a root crontab job:
@reboot chmod 660 /dev/ttyAMA0
Which appears to either have no effect or is reverted immediately. Grateful for any tips.