sane-project-website/old-archive/2001-01/0195.html

147 wiersze
5.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: How to Run Parallel Port Scanner as Non-Root????</TITLE>
<META NAME="Author" CONTENT="Karl Heinz Kremer (khk@khk.net)">
<META NAME="Subject" CONTENT="Re: How to Run Parallel Port Scanner as Non-Root????">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: How to Run Parallel Port Scanner as Non-Root????</H1>
<!-- received="Thu Jan 18 15:34:39 2001" -->
<!-- isoreceived="20010118233439" -->
<!-- sent="Thu, 18 Jan 2001 18:33:42 -0500" -->
<!-- isosent="20010118233342" -->
<!-- name="Karl Heinz Kremer" -->
<!-- email="khk@khk.net" -->
<!-- subject="Re: How to Run Parallel Port Scanner as Non-Root????" -->
<!-- id="20010118183342.C19001@khk.net" -->
<!-- inreplyto="20010118182259.I2340@CHERRYH.AG.UTK.EDU" -->
<STRONG>From:</STRONG> Karl Heinz Kremer (<A HREF="mailto:khk@khk.net?Subject=Re:%20How%20to%20Run%20Parallel%20Port%20Scanner%20as%20Non-Root????&In-Reply-To=&lt;20010118183342.C19001@khk.net&gt;"><EM>khk@khk.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Jan 18 2001 - 15:33:42 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0196.html">dave-mlist@bfnet.com: "Failed to open device `coolscan:/dev/scanner': Device busy."</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0194.html">Karl Heinz Kremer: "Re: Epson Perfection 1640 SU &amp; Canon FS2710"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0193.html">Jochen Weiss: "How to Run Parallel Port Scanner as Non-Root????"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0207.html">Laurent-jan: "Re: How to Run Parallel Port Scanner as Non-Root????"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0207.html">Laurent-jan: "Re: How to Run Parallel Port Scanner as Non-Root????"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#195">[ date ]</A>
<A HREF="index.html#195">[ thread ]</A>
<A HREF="subject.html#195">[ subject ]</A>
<A HREF="author.html#195">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Jochen,
<BR>
<P>the only way you can get it to work is by making the programs that
<BR>
access the pio device (the frontends) SUID root:
<BR>
<P>chown root xscanimage xsane scanimage
<BR>
chmod 4755 xscanimage xsane scanimage
<BR>
<P>... of course you have to provide the correct paths for the
<BR>
three programs.
<BR>
<P>Karl Heinz
<BR>
<P>On Thu, Jan 18, 2001 at 06:22:59PM -0500, Jochen Weiss wrote:
<BR>
<EM>&gt; I got an old Epson ES300C parallel port scanner from a friend of mine and I
</EM><BR>
<EM>&gt; got
</EM><BR>
<EM>&gt; it to run under Mandrake 7.2 as root (which is not recommended and did
</EM><BR>
<EM>&gt; indeed do
</EM><BR>
<EM>&gt; same bad things to the program while running). So my question is:
</EM><BR>
<EM>&gt; How can i change the permissions on the pio 0x378 so that I can run it as
</EM><BR>
<EM>&gt; regular
</EM><BR>
<EM>&gt; user. This is easy to solve for a SCSI port since its a device, but the pio
</EM><BR>
<EM>&gt; doesn't use a device...
</EM><BR>
<EM>&gt; Any help would be greatly appreciated....
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Jochen Weiss
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; ----------------------------------------
</EM><BR>
<EM>&gt; Jochen Weiss
</EM><BR>
<EM>&gt; Dept. of Food Science and Tech., UT
</EM><BR>
<EM>&gt; 2605 River Road, Knoxville, TN 37901-1071
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20How%20to%20Run%20Parallel%20Port%20Scanner%20as%20Non-Root????&In-Reply-To=&lt;20010118183342.C19001@khk.net&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><PRE>
--
<P>
</PRE>
<HR NOSHADE>
<UL>
<LI>application/pgp-signature attachment: <A HREF="att-0195/01-part">stored</A>
</UL>
<!-- attachment="01-part" -->
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20How%20to%20Run%20Parallel%20Port%20Scanner%20as%20Non-Root????&In-Reply-To=&lt;20010118183342.C19001@khk.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0196.html">dave-mlist@bfnet.com: "Failed to open device `coolscan:/dev/scanner': Device busy."</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0194.html">Karl Heinz Kremer: "Re: Epson Perfection 1640 SU &amp; Canon FS2710"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0193.html">Jochen Weiss: "How to Run Parallel Port Scanner as Non-Root????"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0207.html">Laurent-jan: "Re: How to Run Parallel Port Scanner as Non-Root????"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0207.html">Laurent-jan: "Re: How to Run Parallel Port Scanner as Non-Root????"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#195">[ date ]</A>
<A HREF="index.html#195">[ thread ]</A>
<A HREF="subject.html#195">[ subject ]</A>
<A HREF="author.html#195">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Jan 18 2001 - 15:39:40 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>