From a6d3b3c3238e337abfdc65e571703d3451fd1176 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 4 Feb 2019 12:02:47 +0100 Subject: [PATCH] 1671510 - Incorrect udev rule in sane-backends --- 66-saned.rules | 2 +- sane-backends.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/66-saned.rules b/66-saned.rules index b3ab794..3c9ec85 100644 --- a/66-saned.rules +++ b/66-saned.rules @@ -1,2 +1,2 @@ # udev rule for saned (SANE scanning daemon) to be able to write on usb port -ENV{libsane_matched}=="yes", RUN+="/usr/bin/setfacl -m g:saned:rw $env{DEVNAME}" +ENV{libsane_matched}=="yes", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m g:saned:rw $env{DEVNAME}" diff --git a/sane-backends.spec b/sane-backends.spec index 728c4a0..e219627 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -33,7 +33,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.27 -Release: 21%{?dist} +Release: 22%{?dist} # lib/ is LGPLv2+, backends are GPLv2+ with exceptions # Tools are GPLv2+, docs are public domain # see LICENSE for details @@ -355,6 +355,9 @@ exit 0 %{_unitdir}/saned@.service %changelog +* Mon Feb 04 2019 Zdenek Dohnal - 1.0.27-22 +- 1671510 - Incorrect udev rule in sane-backends + * Sat Feb 02 2019 Fedora Release Engineering - 1.0.27-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild