Re: Mustek 600 II N updates + file ownerships

Christoph Doerbeck (doerbeck@dma.isg.mot.com)
Tue, 25 Aug 1998 11:07:47 -0400

> > Another thing: When using xscanimage with suid root to get access
> > to the port, it seems that file ownership for the output files created
> > also defaults to root. This is sometimes annoying, although not serious.
>
> Is it still the case with 0.74 ? I think I had to remove the
> file /tmp/out.pnm as root before being able to scan into that file,
> but may be I have missed to set the mode 4755 before doing this...
>

Why on earth would you want to run xscanimage setuid root? This is an
aweful practice in my opinion. Why not just set read/write permissions
on the /dev/device?

Am I missing something?

- Christoph

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com