-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> Hi, > > On Fri, Feb 08, 2002 at 09:53:36AM -0800, nathan rutman wrote: > > Where's the right place to store a permanent calibration file (created > > once per scanner)? Is there a facility for this? Looks like > > hp-option.c stores one in ~/.sane/calib-hp:device, but > > a) I want mine per scanner, not per user. > > This means there must be some place in the file system writable by > everyone. Maybe /tmp? At least I don't know a differnt place. But if > you use this, be really carefull to not introduce yet another temp > file race. And be sure that the backend doesn't segfault if the data > is too short, too long or just wrong in any kind. You can't know who > wrote the file if everyone can access it. Just a warning. I had the same problem. But my scanner has some problems with certain calibration values. I once forgot to calculate the data and used undefined memory. As a result the scanner became completely unusable. The only way to fix it was to run the windows driver. What I want to say: If the data is writable for all users you could have a really big security problem - it could damage your hardware. I think the only secure way then is to use saned or recalculate it every time. Bye Andre - -- Andre Herms mailto:ahe...@cs.uni-magdeburg.de http://www.cs.uni-magdeburg.de/~aherms -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Z6G6K/HaDUFBducRAo5bAJ9D+ytzuHrinIFCOJXdril65tZTogCdFy7g 7Lulzx/BuBaX2rmQKxIa7NU= =dMU9 -----END PGP SIGNATURE-----