← Back to team overview

desktop-packages team mailing list archive

[Bug 654960] Re: No ability to give www-data or network users access to scanners or saned

 

We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to "New". Thanks again!

** Changed in: sane-backends (Ubuntu)
       Status: Incomplete => Invalid

-- 
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:
  Invalid

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