scanner group access with and without acl support

merge-requests/1/head
Rolf Bensch 2012-04-20 21:38:47 +02:00
rodzic 5ea40e82da
commit 54a6c5cea8
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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".

Wyświetl plik

@ -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");
}