Subject Re: gbak to a non existing directory - Email found in subject
Author ma_golyo
We dont want forking Firebird.
We want install FB and set up access right once. The goal is to minimize by hand work. That is what IT is about at all... ;)

How about:

c. Modify Firebird source code, before it tries to create the database
file, check for directory existence, and then create it. It seems
exactly what you need and any decent C/C++ programmer should be able to
implement this functionality quickly. ;)

One question though. "firebird" user usually has no privileges on *any*
directory in the filesystem by default. How would it be able to create
the sub-directory then? After setting up firebird you have to give it
rights to some directory, why not create the directory as well at that
point?

--- In firebird-support@yahoogroups.com, Milan Babuskov <milanb@...> wrote:
>
> ma_golyo wrote:
> > a. This is plan B.
> > b. It's very creative, but ugly... :)
>
> How about:
>
> c. Modify Firebird source code, before it tries to create the database
> file, check for directory existence, and then create it. It seems
> exactly what you need and any decent C/C++ programmer should be able to
> implement this functionality quickly. ;)
>
> One question though. "firebird" user usually has no privileges on *any*
> directory in the filesystem by default. How would it be able to create
> the sub-directory then? After setting up firebird you have to give it
> rights to some directory, why not create the directory as well at that
> point?
>
> --
> Milan Babuskov
>
> ==================================
> The easiest way to import XML, CSV
> and textual files into Firebird:
> http://www.guacosoft.com/xmlwizard
> ==================================
>