kopia lustrzana https://gitlab.com/sane-project/backends
scanner group access with and without acl support
rodzic
5ea40e82da
commit
54a6c5cea8
|
@ -1,3 +1,7 @@
|
|||
2012-04-20 Rolf Bensch <rolf at bensch hyphen online dot de>
|
||||
* tools/sane-desc.c: tools/udev/libsane.rules supports scanner group
|
||||
access to any scanner, with and without acl support.
|
||||
|
||||
2012-04-17 Rolf Bensch <rolf at bensch hyphen online dot de>
|
||||
* backend/pixma.c, backend/pixma_sane_options.c, po/de.po:
|
||||
New description for device specific option "source".
|
||||
|
|
|
@ -3621,6 +3621,8 @@ print_udev (void)
|
|||
|
||||
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 ("\nLABEL=\"libsane_rules_end\"\n");
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue