Hi,

the correct fix to scanlogd.init is this:

```
commit b8ce8248b1b54f2f2173ac34d358a944235d6685 (HEAD -> master)
Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
Date:   Fri Mar 5 15:36:20 2021 +0100

debian/scanlogd.init: RDIR/empty must not be writeable by the user that scanlogd runs as. (Closes: #984590).

diff --git a/debian/scanlogd.init b/debian/scanlogd.init
index 1095d97..38c1bdf 100644
--- a/debian/scanlogd.init
+++ b/debian/scanlogd.init
@@ -33,8 +33,9 @@ set -e
 umask 022
 if [ ! -d $RDIR/empty ]; then
     mkdir -p $RDIR/empty
-    chown -R scanlogd:nogroup $RDIR
 fi
+chown scanlogd:nogroup $RDIR
+chown root:root $RDIR/empty

 case "$1" in
   start)
```

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpIUJZ4DzJJZ.pgp
Description: Digitale PGP-Signatur

Reply via email to