[sane-devel] local user using scanner
Terry D. Boldt
Sat, 14 May 2005 19:52:11 -0400
On Saturday 14 May 2005 08:11 am, Henning Meier-Geinitz wrote:
> On Fri, May 13, 2005 at 03:02:25PM -0400, Terry D. Boldt wrote:
> > The problem is getting the "/proc/bus/usb/0001/003" file set to "rw" by
> > all users not just root. I can do so after boot, but would like it done
> > automatically at boot.
> See README.linux, e.g. here: http://www.sane-project.org/README.linux
> Usually hotplug is used to set permissions and sane-backends already
> comes with a hotplug script ("libusbscanner").
Read that already. In searching to solve the problem, I found that several
days back. Unfortunately it does nothing to solve the problem. The README
simply says that the files "libsane.usermap" and "libusbscanner" should be
in /etc/hotplug/usb and they are. But they do nothing to elicudate the
problem or solve the problem. The README further reads that the solution to
the problem is simply to add the user(s) to the "scanner" group.
Unfortuantely the scanner group did not exist. I created the group and added
the desired users to the group, but that had absolutely no effect whatsoever.
So I am still back to the only effective solution given in the README (which
I had already found) and that is to
su -c 'chmod a+rw /proc/bus/usb/001/003'
and then repeat after each boot.
Not really a satisfactory solution. Want that done automatically at boot time.
Thanks and Still trying,