Public bug reported:

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

** Affects: sane-backends (Ubuntu)
     Importance: Undecided
         Status: New

-- 
No ability to give www-data or network users access to scanners or saned
https://bugs.launchpad.net/bugs/654960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to