kopia lustrzana https://gitlab.com/sane-project/website
64 wiersze
2.9 KiB
HTML
64 wiersze
2.9 KiB
HTML
<!-- received="Mon Aug 31 08:08:58 1998 PDT" -->
|
|
<!-- sent="Tue, 25 Aug 1998 18:29:30 +0200 (MET DST)" -->
|
|
<!-- name="Jon Wikne" -->
|
|
<!-- email="wikne@lynx.uio.no" -->
|
|
<!-- subject="Re: Mustek 600 II N updates + file ownerships" -->
|
|
<!-- id="199808251629.SAA04354@lynx.uio.no" -->
|
|
<!-- 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>Jon Wikne</b> (<a href="mailto:wikne@lynx.uio.no"><i>wikne@lynx.uio.no</i></a>)<br>
|
|
<i>Tue, 25 Aug 1998 18:29:30 +0200 (MET DST)</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#150">[ date ]</a><a href="index.html#150">[ thread ]</a><a href="subject.html#150">[ subject ]</a><a href="author.html#150">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0151.html">Arun Tanksali: "Re : Windows Port"</a>
|
|
<li> <b>Previous message:</b> <a href="0149.html">Michael Kayz-Hyman: "Re: Parallel Port Scanners: help"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
On Tue, 25 Aug 1998 Christoph Doerbeck (<a href="mailto:doerbeck@dma.isg.mot.com">doerbeck@dma.isg.mot.com</a>) wrote:<br>
|
|
<p>
|
|
<i>> > > Another thing: When using xscanimage with suid root to get access</i><br>
|
|
<i>> > > to the port, it seems that file ownership for the output files created</i><br>
|
|
<i>> > > also defaults to root. This is sometimes annoying, although not serious.</i><br>
|
|
<i>> ></i><br>
|
|
<i>> > Is it still the case with 0.74 ? I think I had to remove the</i><br>
|
|
<i>> > file /tmp/out.pnm as root before being able to scan into that file,</i><br>
|
|
<i>> > but may be I have missed to set the mode 4755 before doing this...</i><br>
|
|
<i>></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>
|
|
<p>
|
|
Awful practice it might be, but if I instead set the permissions on<br>
|
|
/dev/port then the scanner (i.e. the lamp) is not turned off properly<br>
|
|
on exit from xscanimage.<br>
|
|
<p>
|
|
This might well be another bug, but until that behaviour is changed<br>
|
|
I keep it setuid root. This matters very little on my system with only<br>
|
|
few and trusted users anyway.<br>
|
|
<p>
|
|
<p>
|
|
-- Jon<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="0151.html">Arun Tanksali: "Re : Windows Port"</a>
|
|
<li> <b>Previous message:</b> <a href="0149.html">Michael Kayz-Hyman: "Re: Parallel Port Scanners: help"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|