[sane-devel] Where should a backend save config data ?

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 25 Jul 2002 21:48:24 +0200


On Thu, Jul 25, 2002 at 12:07:09PM +0200, mh wrote:
> 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 :-)

I don't think it's a security problem this way. However, I would use
$HOME/.sane/tevion9693usb/ .