sane-project-website/old-archive/1998-08/0124.html

91 wiersze
3.6 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!-- received="Wed Aug 26 02:45:27 1998 PDT" -->
<!-- sent="Wed, 26 Aug 1998 11:44:36 +0200" -->
<!-- name="Christian Bucher" -->
<!-- email="cbucher@vernetzt.at" -->
<!-- subject="Re: Mustek 600 II N updates + file ownerships" -->
<!-- id="" -->
<!-- inreplyto="Mustek 600 II N updates + file ownerships" -->
<title>sane-devel: Re: Mustek 600 II N updates + file ownerships</title>
<h1>Re: Mustek 600 II N updates + file ownerships</h1>
<b>Christian Bucher</b> (<a href="mailto:cbucher@vernetzt.at"><i>cbucher@vernetzt.at</i></a>)<br>
<i>Wed, 26 Aug 1998 11:44:36 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#124">[ date ]</a><a href="index.html#124">[ thread ]</a><a href="subject.html#124">[ subject ]</a><a href="author.html#124">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0125.html">Daniel Stodden: "Re: Mustek SP12000SP"</a>
<li> <b>Previous message:</b> <a href="0123.html">Hugo van der Kooij: "Re: Mustek SP12000SP"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Christoph Doerbeck wrote:<br>
<i>&gt; </i><br>
<i>&gt; &gt; * Christoph Doerbeck</i><br>
<i>&gt; &gt; | Why on earth would you want to run xscanimage setuid root? This is an</i><br>
<i>&gt; &gt; | aweful practice in my opinion. Why not just set read/write permissions</i><br>
<i>&gt; &gt; | on the /dev/device?</i><br>
<i>&gt; &gt; |</i><br>
<i>&gt; &gt; | Am I missing something?</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; the mustek 600 ii havent got a driver in the kernel, and thus no</i><br>
<i>&gt; &gt; device. it hits the hardware directly.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; </i><br>
<i>&gt; Ahhhh... I knew there had to be an SANE answer! Get it? It's a joke son!</i><br>
<i>&gt; </i><br>
<i>&gt; - Christoph</i><br>
<i>&gt; </i><br>
<p>
no joke, trust me. It´s the same with the epson parallel interface.<br>
There would be some other possibilities. Basically they need the same<br>
code you use for direct hardware access, but<br>
<p>
.) writing a device driver<br>
<p>
- a device driver has kernel permissions, you need probably an own<br>
installation<br>
to test it and you'll have a lot of experience in re-install<br>
afterwards.<br>
<p>
- a device driver differ for different Unix's.<br>
<p>
.) using the /dev/port device<br>
<p>
- cool, but for all the Unix´s without /dev/port it´ll not work<br>
(is there anyone beside Linux?).<br>
<p>
also there are several other points you will run into the root problem,<br>
if I remember<br>
right you´ve to be root anyway to write, for example, to the SCO generic<br>
scsi device.<br>
<p>
I think it´s still the better possibility to use the sbit and setuid<br>
than run the whole<br>
stuff (also gimp if you use sane as pluggin) as root. Any suggestions?<br>
<p>
christian<br>
<p>
<pre>
--
+-------------------------------------------------------------------
| Christian Bucher
| phone: +43 1 5488640 mobil: +43 676 4208334
| <a href="mailto:cbucher@vernetzt.at">mailto:cbucher@vernetzt.at</a>
+-------------------------------------------------------------------
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0125.html">Daniel Stodden: "Re: Mustek SP12000SP"</a>
<li> <b>Previous message:</b> <a href="0123.html">Hugo van der Kooij: "Re: Mustek SP12000SP"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>