Subject: Re: ddclient: file ownership error

From: David Restall <[email-masked]>
Date: Sun, 12 Oct 2025 14:29:29 +0100

Hi Wolfgang,

> Hello,
> 
> this is the contents of /etc/ddclient:
> 
> 
> /etc/ddclient# ls -alF
> total 24
> drwxr-----=C2=A0 2 ddclient ddclient=C2=A0 4096 Oct 11 20:54 ./
> drwxr-xr-x 46 root=C2=A0 =C2=A0 =C2=A0root=C2=A0 =C2=A0 =C2=A0 4096 Oct 11=
>  20:47 ../
> -rw-------=C2=A0 1 ddclient ddclient=C2=A0 =C2=A0181 Oct 12 07:35 ddclient=
> .conf
> -rw-------=C2=A0 1 ddclient ddclient 12031 Mar 10=C2=A0 2025 ddclient.conf=
> .orig
> 
> 
> And this is what ddclient tells me:
> 
> 
> ddclient -daemon=3D0 -debug -verbose -noquiet
> WARNING: [file /etc/ddclient/ddclient.conf]> file should be owned only=20
> by ddclient or not be
> writable.
> 
> 
> This answer does not make any sense to me, because ownership and=20
> permissions are exactly set as the error message says they should be and=
> =20
> they are identical to the vanilla file that was created during=20
> installation.
> 
> What is wrong there? Am I completely misinterpreting something?
> 
> 
> Greetings,
> Wolfgang

Have you tried changing the permissions on ddclient.conf :-

chmod 400 /etc/ddclient/ddclient.conf

so that it honours both the conditions i.e. owned by ddclient user AND
is not writeable to see if it makes a difference.

73

D
lists/alpine/users/2025-10-12.tx       ~alpine/[email-masked]
+----------------------------------------------------------------------------+
| Dave Restall, Computer Anorak, Geek, Cyclist, Radio Amateur, Bodger        |
| M: +44 (0) 7973 831245            Y: G4FCU             E: [email-masked] |
+- QOTD ---------------------------------------------------------------------+
| Wisdom is rarely found on the best-seller list.                            |
+----------------------------------------------------------------------------+

---

From: Wolfgang Klein <[email-masked]>
Date: Sun, 12 Oct 2025 17:54:43 +0200

> chmod 400 /etc/ddclient/ddclient.conf

Yes, I tried that, but it brought no changes.