View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#77
Originally Posted by tz1 View Post
If you install it from the deb it should work as user instead of root.

If you run it as root, it will create files in /tmp as root which it can't access as user so will not run until they are removed or after a reboot.

Remove /tmp/gpsd.log and /tmp/minigpsd.pid if they exist (as root) and it should run as user. If not, try "strace minigpsd" as user and past the last dozen or so lines.
Hmm, wouldn't using /var/tmp be better as it can be accessed by both root + user and is cleaned on reboot?