Article 5D0XT Can't open KOD db file /var/db/ntp-kod for writing

Can't open KOD db file /var/db/ntp-kod for writing

by
ychaouche
from LinuxQuestions.org on (#5D0XT)
Dear #LQ,

I was wondering if any of you already solved this error/warning with sntp :
Code:ychaouche#ychaouche-PC 10:23:44 ~ $ sntp 10.10.10.100
19 Jan 10:24:45 sntp[7193]: Started sntp
2021-01-19 10:24:45.758437 (-0100) -0.00801 +/- 0.011505 secs
19 Jan 10:24:45 sntp[7193]: Can't open KOD db file /var/db/ntp-kod for writing!
ychaouche#ychaouche-PC 10:24:45 ~ $
If executed with sudo, the message disappears. How should I solve this ? should I simply change permissions on the file ? (file exists)

Code:ychaouche#ychaouche-PC 10:26:44 ~ $ ls /var/db/ntp-kod
-rw-r--r-- 1 root root 0 Jan 19 10:26 /var/db/ntp-kod
ychaouche#ychaouche-PC 10:35:43 ~ $Any help appreciated :)latest?d=yIl2AUoC8zA latest?i=xJZGfnuV0dw:8lpGzuhvtXo:F7zBnMy latest?i=xJZGfnuV0dw:8lpGzuhvtXo:V_sGLiP latest?d=qj6IDK7rITs latest?i=xJZGfnuV0dw:8lpGzuhvtXo:gIN9vFwxJZGfnuV0dw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments