[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] raspbian gpsd:ERROR: read-only device open failed: Perm

From: Sebastian E. Ovide
Subject: Re: [gpsd-users] raspbian gpsd:ERROR: read-only device open failed: Permission denied
Date: Fri, 31 Jul 2015 09:15:52 +0100

thanks Gary. I've found the bug in debian :

On 31 July 2015 at 07:16, Gary E. Miller <address@hidden> wrote:
Yo Sebastian!

On Fri, 31 Jul 2015 07:12:53 +0100
"Sebastian E. Ovide" <address@hidden> wrote:

> thanks for that. In that case I'll contact the raspbian guys (or the
> Debian Weezy?) as the only thing I did to get gpsd running is install
> gpsd and gpsd-clients packages via apt-get install. So there must be
> a bug in the package.

Yes, they have bugs, and they have already been notified many times.

> I see that the package creates a gpsd.hotplug script which creates the
> /dev/ttyUSB0 with rw-rw---T privileges and belonging to the group
> dialout... so "nobody" doesn't have permissions. (Adding a chmod a+rw
> in that script fix the problem). What privileges would you expect to
> see in that file ?

I would expect gpsd to be run as root, dropping privs to some other user
after opening the GPS device.

There are many ways that could work, but none of them used by the RasPi

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1(541)382-8588

reply via email to

[Prev in Thread] Current Thread [Next in Thread]