22 lines
810 B
Diff
22 lines
810 B
Diff
diff -Nru sane-backends-1.0.23.orig/tools/sane-desc.c sane-backends-1.0.23/tools/sane-desc.c
|
|
--- sane-backends-1.0.23.orig/tools/sane-desc.c 2012-07-01 04:00:44.000000000 +0200
|
|
+++ sane-backends-1.0.23/tools/sane-desc.c 2012-09-29 11:56:37.506880380 +0200
|
|
@@ -58,7 +58,7 @@
|
|
|
|
#define DEVMODE "0664"
|
|
#define DEVOWNER "root"
|
|
-#define DEVGROUP "scanner"
|
|
+#define DEVGROUP "lp"
|
|
|
|
#ifndef PATH_MAX
|
|
# define PATH_MAX 1024
|
|
@@ -3622,7 +3622,7 @@
|
|
if (mode == output_mode_udevacl)
|
|
printf("\nENV{libsane_matched}==\"yes\", RUN+=\"/bin/setfacl -m g:%s:rw $env{DEVNAME}\"\n", DEVGROUP);
|
|
else
|
|
- printf ("\nENV{libsane_matched}==\"yes\", MODE=\"664\", GROUP=\"scanner\"\n");
|
|
+ printf ("\nENV{libsane_matched}==\"yes\", MODE=\"664\", GROUP=\"lp\"\n");
|
|
|
|
printf ("\nLABEL=\"libsane_rules_end\"\n");
|
|
}
|