kopia lustrzana https://gitlab.com/sane-project/website
150 wiersze
7.5 KiB
HTML
150 wiersze
7.5 KiB
HTML
<!-- received="Thu Oct 8 07:52:36 1998 PDT" -->
|
||
<!-- sent="Thu, 8 Oct 1998 11:03:46 -0400 (EDT)" -->
|
||
<!-- name="Terry Mackintosh" -->
|
||
<!-- email="terry@terrym.com" -->
|
||
<!-- subject="Re: saned - Problem found" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="Pine.LNX.3.95.981008103407.15424A-100000@terry1.acun.com" -->
|
||
<title>sane-devel: Re: saned - Problem found</title>
|
||
<h1>Re: saned - Problem found</h1>
|
||
<b>Terry Mackintosh</b> (<a href="mailto:terry@terrym.com"><i>terry@terrym.com</i></a>)<br>
|
||
<i>Thu, 8 Oct 1998 11:03:46 -0400 (EDT)</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#111">[ date ]</a><a href="index.html#111">[ thread ]</a><a href="subject.html#111">[ subject ]</a><a href="author.html#111">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0112.html">Anthony Mallet: "Strage behavior (MFS-1200SP & sane 0.73)"</a>
|
||
<li> <b>Previous message:</b> <a href="0110.html">becka@rz.uni-duesseldorf.de: "Re: saned - Problem found"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
OK, found it, forgot to check /dev/sga, it was totally lacking any<br>
|
||
permissions for both group and others, so only root could access it:(<br>
|
||
<p>
|
||
Added both read and write for every one, changed the line in inet.conf<br>
|
||
back to nobody.nobody, and all works well.<br>
|
||
<p>
|
||
So, prehaps there should be a note in the man page for saned that on a Red<br>
|
||
Hat 4.2 box, the permissions on the scsi divice will need to be changed.<br>
|
||
<p>
|
||
Note, the only scsi device I have at this point is the scanner, if one<br>
|
||
also has disks, then I do not know what security ramifications this might<br>
|
||
have.<br>
|
||
<p>
|
||
Thanks again for the great software, and have a great day.<br>
|
||
Terry<br>
|
||
<p>
|
||
On Thu, 8 Oct 1998, Terry Mackintosh wrote:<br>
|
||
<p>
|
||
<i>> Hi all</i><br>
|
||
<i>> </i><br>
|
||
<i>> It is a permission problem.</i><br>
|
||
<i>> Where I had user.group of nobody.nobody, I just did 'root.root' and it all</i><br>
|
||
<i>> started working just fine!</i><br>
|
||
<i>> </i><br>
|
||
<i>> Yes I know that using root is a bad idea, but it is great for trouble</i><br>
|
||
<i>> shooting.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Now I looked at permission in /usr/local/sbin /usr/local/bin</i><br>
|
||
<i>> /usr/local/lib/ /usr/local/lib/sane /usr/local/etc/sane.d</i><br>
|
||
<i>> and all permessions look ok to me.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Did I miss some place? Is there some file that needs unusual permissions?</i><br>
|
||
<i>> What is the best way to trouble shoot a permission problem?</i><br>
|
||
<i>> </i><br>
|
||
<i>> Thanks</i><br>
|
||
<i>> Terry</i><br>
|
||
<i>> </i><br>
|
||
<i>> On Thu, 8 Oct 1998, Terry Mackintosh wrote:</i><br>
|
||
<i>> </i><br>
|
||
<i>> > Hi</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > Using sane 0.73, it seemed to be the latest on sunsite at the time I got</i><br>
|
||
<i>> > it.</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > On Thu, 8 Oct 1998, Hugo van der Kooij wrote:</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > > On Wed, 7 Oct 1998, Terry Mackintosh wrote:</i><br>
|
||
<i>> > > > After putting the entries in /etc/inetd.conf</i><br>
|
||
<i>> > #sane stream tcp nowait nobody /usr/local/sbin/saned sane</i><br>
|
||
<i>> > sane stream tcp nowait nobody.nobody /usr/local/sbin/saned sane</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > Ok, I took the 'd' off the very end, and tried both lines. This is what</i><br>
|
||
<i>> > you meant earlyer when you said it should just be 'sane'?</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > > > and /etc/services,</i><br>
|
||
<i>> > > > sane 6566/tcp # SANE network scanner daemon</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > same</i><br>
|
||
<i>> > > </i><br>
|
||
<i>> > > As soon as a session comes to port 6566 then saned will be started</i><br>
|
||
<i>> > > automagiaclly. Just like ftpd and telnetd</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > OK, so now saned is set up on 'home' box, and when I do:</i><br>
|
||
<i>> > scanimage -L</i><br>
|
||
<i>> > on 'laptop' ... on laptop I get nothing, just a new prompt, on home, in</i><br>
|
||
<i>> > the messages log I get:</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > Oct 8 09:39:08 home saned[331]: access by root@laptop accepted</i><br>
|
||
<i>> > Oct 8 09:39:08 home saned[331]: exiting</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > So, saned is running, the laptop does talk to it on home, but it does not</i><br>
|
||
<i>> > see any scanner devices, why?</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > Recall that if I comment out the lines in inetd.conf and services, and run</i><br>
|
||
<i>> > saned from the command line with '-d', then the laptop does see the</i><br>
|
||
<i>> > scanner, and can even use it.</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > Also note that every thing works great (not via net) on the home box.</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > Thanks, and thanks very much for sane.</i><br>
|
||
<i>> > Terry Mackintosh <<a href="mailto:terry@terrym.com">terry@terrym.com</a>> <a href="http://www.terrym.com">http://www.terrym.com</a></i><br>
|
||
<i>> > sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3</i><br>
|
||
<i>> > -------------------------------------------------------------------</i><br>
|
||
<i>> > Success Is A Choice ... book by Rick Patino, get it, read it!</i><br>
|
||
<i>> > </i><br>
|
||
<i>> > </i><br>
|
||
<i>> > --</i><br>
|
||
<i>> > Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> > To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
||
<i>> > </i><br>
|
||
<i>> </i><br>
|
||
<i>> Terry Mackintosh <<a href="mailto:terry@terrym.com">terry@terrym.com</a>> <a href="http://www.terrym.com">http://www.terrym.com</a></i><br>
|
||
<i>> sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3</i><br>
|
||
<i>> -------------------------------------------------------------------</i><br>
|
||
<i>> Success Is A Choice ... book by Rick Patino, get it, read it!</i><br>
|
||
<i>> </i><br>
|
||
<i>> </i><br>
|
||
<i>> --</i><br>
|
||
<i>> Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
||
<i>> </i><br>
|
||
<p>
|
||
Terry Mackintosh <<a href="mailto:terry@terrym.com">terry@terrym.com</a>> <a href="http://www.terrym.com">http://www.terrym.com</a><br>
|
||
sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.<br>
|
||
<p>
|
||
Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3<br>
|
||
-------------------------------------------------------------------<br>
|
||
Success Is A Choice ... book by Rick Patino, get it, read it!<br>
|
||
<p>
|
||
<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="0112.html">Anthony Mallet: "Strage behavior (MFS-1200SP & sane 0.73)"</a>
|
||
<li> <b>Previous message:</b> <a href="0110.html">becka@rz.uni-duesseldorf.de: "Re: saned - Problem found"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|