Just to be curious: the main problem seems to me, that the user
who does the scanning needs to be root. What if you'd use saned as
an intermediate? Your enduser sees a networked scanner on loopback
an does not need root permissions.
Or am I missing something?
Karl Heinz Kremer wrote:
> the only way you can get it to work is by making the programs that
> access the pio device (the frontends) SUID root:
> chown root xscanimage xsane scanimage
> chmod 4755 xscanimage xsane scanimage
> ... of course you have to provide the correct paths for the
> three programs.
> Karl Heinz
> On Thu, Jan 18, 2001 at 06:22:59PM -0500, Jochen Weiss wrote:
> > I got an old Epson ES300C parallel port scanner from a friend of mine and I
> > got
> > it to run under Mandrake 7.2 as root (which is not recommended and did
> > indeed do
> > same bad things to the program while running). So my question is:
> > How can i change the permissions on the pio 0x378 so that I can run it as
> > regular
> > user. This is easy to solve for a SCSI port since its a device, but the pio
> > doesn't use a device...
> > Any help would be greatly appreciated....
> > Jochen Weiss
-- (c) ljm @ xs4all . nl. No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author.
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail firstname.lastname@example.org
This archive was generated by hypermail 2b29 : Fri Jan 19 2001 - 16:56:00 PST