This is still an issue in 12.04.
In order to have scanbuttond (and saned, should I need it in the future)
run as user saned, I had to add udev rule:
99-libsane.rules
ENV{libsane_matched}=="yes", OWNER="saned", GROUP="scanner"
Before the rule:
# file: dev/bus/usb/001/005
# owner: root
# group: root
user::rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--
After the rule:
# file: dev/bus/usb/001/006
# owner: saned
# group: scanner
user::rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--
Now scanbuttond works as expected.
I'm tired of banging my head against this now that it works, so could please
somebody test the following things:
- Does the group 'saned' exist after fresh install and after installing 'sane'
- Does the group 'scanner' exist after fresh install and after installing 'sane'
- Does the user 'saned' belong to group 'scanner'
Footnote: Should user 'saned' also belong to group 'lp' in order to
print using scanbuttond's buttonpressed.sh script?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/773617
Title:
Saned group is missing permissions to access scanners via udev-acl
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/773617/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs