gpsd-users
[Top][All Lists]
Advanced

[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: Gary E. Miller
Subject: Re: [gpsd-users] raspbian gpsd:ERROR: read-only device open failed: Permission denied
Date: Fri, 31 Jul 2015 06:16:47 +0000

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
packages.

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

Attachment: pgp96TKv21gVE.pgp
Description: OpenPGP digital signature


reply via email to

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