[ntp:questions] Re: USB NMEA GPS: refclock_open: /dev/gps0: Permission denied

Mario Behn behn at mirsl.ecs.umass.edu
Mon Jul 11 13:25:26 UTC 2005


> What are the permissions of /dev/ttyUSB0 ?
> What user does ntpd run as ?

Hi Steve, 

here are the permission:

[mario at behn ~]$ ll -h /dev/ttyUSB0
crwxrwxrwx  1 root uucp 188, 0 Jul 11 05:15 /dev/ttyUSB0
[mario at behn ~]$

and ntp should run as:
(/etc/sysconfig/ntpd)

# Drop root to id 'ntp:ntp' by default.  Requires kernel >= 2.2.18.
 OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid"
#OPTIONS="-u root:root -p /var/run/ntpd.pid"

shouldn't this work?

Any further ideas?

Thanks

Mario




More information about the questions mailing list