desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #89429
[Bug 654960] Re: No ability to give www-data or network users access to scanners or saned
does this ever occur in trusty or later?
** Changed in: sane-backends (Ubuntu)
Status: New => Incomplete
** Changed in: sane-backends (Ubuntu)
Assignee: (unassigned) => Rolf Leggewie (r0lf)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/654960
Title:
No ability to give www-data or network users access to scanners or
saned
Status in sane-backends package in Ubuntu:
Incomplete
Bug description:
I've been doing some work with Linux Scanner Server (http://scannerserver.online02.com) and created a patch to fix some bugs on Ubuntu 10.04 (Lucid Lynx) i386:
http://jhansonxi.blogspot.com/2010/10/patch-for-linux-scanner-server-v12.html
It uses a shell script to run scanimage but I've encountered a problem - while normal users can access scanners without any configuration, user www-data doesn't have access to them so scanimage can't find or use them. Previously the solution to scanner access problems was to add the user to the scanner group but this no longer exists. Adding it doesn't help as the supporting UDEV rules apparently don't exist either. A commenter on my blog said to use saned. I got it working with Xsane on my test server (localhost) but could not access any scanners remotely from my workstation. The fix was to change the scanner device permissions with chmod o+rw which is a little inconvenient. As soon as this change is made both LSS and remote Xsane/scanimage users can access the scanners (LSS shows duplicates with both local devices and net devices through saned). There seems to be a general lack of documentation on how sane and device permissions are handled on Ubuntu and nobody else seems to know either:
https://answers.launchpad.net/ubuntu/+question/127223
Scanner permissions have been a constant problem on Ubuntu for a long time (bug #121082 etc.) If this mess doesn't get fixed you can expect to see more third-party hacks like this:
http://jhansonxi.blogspot.com/2010/10/scanner-access-enabler.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/654960/+subscriptions