~alpine/users

1

Re: ddclient: file ownership error

David Restall <dave@restall.net>
Details
Message ID
<20251012132929.Q9hJpRN8t%dave@restall.net>
DKIM signature
missing
Download raw message
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/users@lists.alpinelinux.org
+----------------------------------------------------------------------------+
| Dave Restall, Computer Anorak, Geek, Cyclist, Radio Amateur, Bodger        |
| M: +44 (0) 7973 831245            Y: G4FCU             E: dave@restall.net |
+- QOTD ---------------------------------------------------------------------+
| Wisdom is rarely found on the best-seller list.                            |
+----------------------------------------------------------------------------+

Re: ddclient: file ownership error

Wolfgang Klein <klein.wolfg@web.de>
Details
Message ID
<6b9e7e12-87df-4696-9f0d-44857d8d5b66@web.de>
In-Reply-To
<20251012132929.Q9hJpRN8t%dave@restall.net> (view parent)
DKIM signature
missing
Download raw message

David Restall wrote:

> Have you tried changing the permissions on ddclient.conf :-
>
> chmod 400 /etc/ddclient/ddclient.conf
>
>

Yes, I tried that, but it brought no changes.
Reply to thread Export thread (mbox)