[sane-devel] Where should a backend save config data ?
mh
crapsite at gmx.net
Thu Jul 25 11:07:09 BST 2002
Henning Meier-Geinitz, Mittwoch, 24. Juli 2002 21:50:
...
> > Should this go to $HOME/.sane ? Does this work with saned?
>
> I should work with saned but probably not the way the user expects. As
> saned is started by user saned (at least that's what the manpage
> suggests) I guess the data is saved in /home/saned/.sane. So it will
> be accessible by all remote users. But I haven't tested this.
Ok, what about the following approach:
-By default, no values are saved to disk.
-If the user creates a directory $HOME/.tevion9693usb, then the files
are saved there. For saned, this means that the values are used by all users
that are allowed to scan over the network, if someone with permission to do
so created /home/saned/.tevion9693usb.
-The backend supplies two options:
"Save calibration values to disk (if possible)"
"Calibrate before next scan"
Are there any problems with this approach ? I don't want to be the one who
introduces a new security problem :-)
Thanks,
Michael
More information about the sane-devel
mailing list