diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-09-30 18:33:48 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-09-30 18:33:48 +0200 |
commit | 48bb1feef2e1b36a4cb7f014e58146ad18402364 (patch) | |
tree | 4c4fb21bcd1c1e2fd99ad7dd45e28bb48a11a470 | |
parent | 5cb641c75f11518b06a955e6d817b622fe7ed10f (diff) |
d/99-libsane1.rules: Add condition to run setfacl only on usb scanners
-rw-r--r-- | debian/99-libsane1.rules | 2 | ||||
-rw-r--r-- | debian/changelog | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/99-libsane1.rules b/debian/99-libsane1.rules index ada47b4..42d0dd4 100644 --- a/debian/99-libsane1.rules +++ b/debian/99-libsane1.rules @@ -1,2 +1,2 @@ -ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" +ENV{DEVNAME}!="", ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" diff --git a/debian/changelog b/debian/changelog index cc95758..fdc0acd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,9 @@ sane-backends (1.0.31-3) UNRELEASED; urgency=medium - * debian/sane-utils.postrm (Closed: #941625). + * debian/sane-utils.postrm (Closes: #941625): - On purge remove pid file if sysvinit are used. + * debian/99-libsane1.rules (Closes: #960083): + - Add contition ENV{DEVNAME}!="" to run setfacl only on usb scanners. -- Jörg Frings-Fürst <debian@jff.email> Wed, 30 Sep 2020 16:12:47 +0200 |