sane-project-website/old-archive/1999-07/0114.html

64 wiersze
2.8 KiB
HTML

<!-- received="Sun Jul 18 23:58:58 1999 PDT" -->
<!-- sent="Mon, 19 Jul 1999 09:10:48 +0200" -->
<!-- name="Wolfgang Denk" -->
<!-- email="wd@denx.de" -->
<!-- subject="Re: newbie question" -->
<!-- id="199907190710.JAA01281@denx.muc.de" -->
<!-- inreplyto="newbie question" -->
<title>sane-devel: Re: newbie question</title>
<h1>Re: newbie question</h1>
<b>Wolfgang Denk</b> (<a href="mailto:wd@denx.de"><i>wd@denx.de</i></a>)<br>
<i>Mon, 19 Jul 1999 09:10:48 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#114">[ date ]</a><a href="index.html#114">[ thread ]</a><a href="subject.html#114">[ subject ]</a><a href="author.html#114">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0115.html">Petter Reinholdtsen: "Re: Release early, release often"</a>
<li> <b>Previous message:</b> <a href="0113.html">Wolfgang Denk: "Re: Scanjet 5P and seg fault"</a>
<li> <b>Maybe in reply to:</b> <a href="0112.html">Tomm Aldridge: "newbie question"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
In message &lt;3792C39F.A2A0D9A4@home.com&gt; you write:<br>
<i>&gt; </i><br>
<i>&gt; When I run xscanimage as root it works. When I run it from another user</i><br>
<i>&gt; directory it fails as shown below. What's happening?</i><br>
<i>&gt; </i><br>
<i>&gt; </i><br>
<i>&gt; [tomm@SMP tomm]$ /usr/local/bin/xscanimage</i><br>
<i>&gt; xscanimage: no devices available.</i><br>
<p>
That's because xscanimage cannot open your scanner device; /dev/sg?<br>
probably has permission `rw-------' allowing root access only.<br>
<p>
Either make it accessable to everybody (`chmod 0666 /dev/sg?') -<br>
potential security risks involved; or make it accessable to a special<br>
"scanner user" group and make xscanimage SETGID, or configure `sudo'<br>
to allow the users to use xscanimage (preferred solution).<br>
<p>
Wolfgang<br>
<p>
<pre>
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: -88 Home: -86 Email: <a href="mailto:wd@denx.muc.de">wd@denx.muc.de</a>
The important thing about being a leader is not being right or wrong,
but being *certain*. - Terry Pratchett, _Truckers_
<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="0115.html">Petter Reinholdtsen: "Re: Release early, release often"</a>
<li> <b>Previous message:</b> <a href="0113.html">Wolfgang Denk: "Re: Scanjet 5P and seg fault"</a>
<li> <b>Maybe in reply to:</b> <a href="0112.html">Tomm Aldridge: "newbie question"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>