sane-project-website/old-archive/2001-02/0121.html

89 wiersze
3.7 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: use of ioperm in sane</TITLE>
<META NAME="Author" CONTENT="stef (stef-listes@wanadoo.fr)">
<META NAME="Subject" CONTENT="use of ioperm in sane">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>use of ioperm in sane</H1>
<!-- received="Mon Feb 12 07:01:12 2001" -->
<!-- isoreceived="20010212150112" -->
<!-- sent="Mon, 12 Feb 2001 16:06:51 +0100" -->
<!-- isosent="20010212150651" -->
<!-- name="stef" -->
<!-- email="stef-listes@wanadoo.fr" -->
<!-- subject="use of ioperm in sane" -->
<!-- id="20010212160651.A2657@wanadoo.fr" -->
<STRONG>From:</STRONG> stef (<A HREF="mailto:stef-listes@wanadoo.fr?Subject=Re:%20use%20of%20ioperm%20in%20sane&In-Reply-To=&lt;20010212160651.A2657@wanadoo.fr&gt;"><EM>stef-listes@wanadoo.fr</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Feb 12 2001 - 07:06:51 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0122.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0120.html">Eddy De Greef: "Updated Mustek 600/1200CP CIS driver (+LifeTec/Medion)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0122.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0122.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#121">[ date ]</A>
<A HREF="index.html#121">[ thread ]</A>
<A HREF="subject.html#121">[ subject ]</A>
<A HREF="author.html#121">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hello,
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in umax 1220p backend, I'm using ioperm to allow direct i/o to parallel port.
<BR>
So xsane, scanimage and xscanimage have to be ran has root, or to have sticky bit
<BR>
set. That worries me, since this allow any user to mistakenly orverwrite any files.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I looked into ppdev, which could be used, but it lacks 32 bits EPP
<BR>
i/o support.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing access mode on /dev/port seems pretty dangerous.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;So, is there any way to avoid this?
<BR>
<P>Stef
<BR>
<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:%20use%20of%20ioperm%20in%20sane&In-Reply-To=&lt;20010212160651.A2657@wanadoo.fr&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0122.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0120.html">Eddy De Greef: "Updated Mustek 600/1200CP CIS driver (+LifeTec/Medion)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0122.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0122.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#121">[ date ]</A>
<A HREF="index.html#121">[ thread ]</A>
<A HREF="subject.html#121">[ subject ]</A>
<A HREF="author.html#121">[ 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>Mon Feb 12 2001 - 07:05:14 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>