Subject | Re: [firebird-support] Re: gbak to a non existing directory - Email found in subject |
---|---|
Author | Milan Babuskov |
Post date | 2012-06-08T08:06:22Z |
ma_golyo wrote:
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
==================================
> a. This is plan B.How about:
> b. It's very creative, but ugly... :)
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
==================================