kopia lustrzana https://gitlab.com/sane-project/website
91 wiersze
3.6 KiB
HTML
91 wiersze
3.6 KiB
HTML
<!-- 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>> </i><br>
|
||
<i>> > * Christoph Doerbeck</i><br>
|
||
<i>> > | Why on earth would you want to run xscanimage setuid root? This is an</i><br>
|
||
<i>> > | aweful practice in my opinion. Why not just set read/write permissions</i><br>
|
||
<i>> > | on the /dev/device?</i><br>
|
||
<i>> > |</i><br>
|
||
<i>> > | Am I missing something?</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > the mustek 600 ii havent got a driver in the kernel, and thus no</i><br>
|
||
<i>> > device. it hits the hardware directly.</i><br>
|
||
<i>> ></i><br>
|
||
<i>> </i><br>
|
||
<i>> Ahhhh... I knew there had to be an SANE answer! Get it? It's a joke son!</i><br>
|
||
<i>> </i><br>
|
||
<i>> - Christoph</i><br>
|
||
<i>> </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>
|