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 /debian/99-libsane1.rules | |
parent | 5cb641c75f11518b06a955e6d817b622fe7ed10f (diff) |
d/99-libsane1.rules: Add condition to run setfacl only on usb scanners
Diffstat (limited to 'debian/99-libsane1.rules')
-rw-r--r-- | debian/99-libsane1.rules | 2 |
1 files changed, 1 insertions, 1 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}" |