Hello, ma_golyo! Thursday, June 7, 2012, 5:32:10 PM, you wrote:
m> That is why I want/expect to create missing directory with m> Firebird/gbak. It can create file but not a directory? It's strange to me. because directories for databases, etc, must be created by administator. It is not strange. Your wish - is strange. m> "why to separate customer's DBs by folders? Why not to place all of m> them into one folder?" m> Namespace separation. Each customer has a fix named DB and any m> number of (at least 1) custom named DB. you created that schema, don't want to change it, and want Firebird be changed for your needs? Really, as it was said, creating db anywhere at the filesystem is dangerous, and violates lot of administrative and security rules. m> --- In firebird-support@yahoogroups.com, Dmitry Kuzmenko <kdv@...> wrote: >> >> Hello, ma_golyo! >> >> Thursday, June 7, 2012, 2:25:05 PM, you wrote: >> >> m> To stat a new customer we have to >> m> #1 : copy the app to new folder (win) >> m> #2 : copy the initial DB to new folder (linux) >> m> #3 : update inital DB metadata to current app version >> >> m> I'm writing (Delphi) app which does the steps above. App runs on the >> terminal (win) server. >> >> what if Firebird on Linux is run under special account (as it usually >> made by linux administrators)? >> why to separate customer's DBs by folders? Why not to place all of >> them into one folder? >> Do you use aliases.conf? If not, and db and folder name somehow >> related to the customer (name, id, etc), some customer can think of >> hacking some other client's DB. >> >> So, I understand that you are trying to make process automatic, but >> the result looks insecure. >> >> m> --- In firebird-support@yahoogroups.com, Michael Ludwig <milu71@> wrote: >> >> >> >> ma_golyo schrieb am 07.06.2012 um 06:07 (-0000): >> >> > Why do you not want something like that? What is te purpose of this >> >> > restriction? Or it's not a restriction, just not implemeted? >> >> >> >> Guess most people back up their databases to known locations, be it >> >> locally or on the server. Willy-nilly creation of folders simply isn't >> >> necessary. I'd say it is even undesirable because it could create a >> >> folder by accident because you mistyped the path and then your important >> >> backup might end up in a folder that you don't have on your radar and so >> >> it would be effectively lost when you need it. >> >> >> >> Why would you want to create a new folder from another machine instead >> >> of just backing up to C:\Backups ? Explain your use case if you have a >> >> good one. >> >> >> >> Michael >> >> >> >> >> >> >> m> ------------------------------------ >> >> m> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> >> m> Visit http://www.firebirdsql.org and click the Resources item >> m> on the main (top) menu. Try Knowledgebase and FAQ links ! >> >> m> Also search the knowledgebases at http://www.ibphoenix.com >> >> m> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> m> Yahoo! Groups Links >> >> >> >> >> >> >> -- >> Dmitry Kuzmenko, www.ib-aid.com >> m> ------------------------------------ m> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ m> Visit http://www.firebirdsql.org and click the Resources item m> on the main (top) menu. Try Knowledgebase and FAQ links ! m> Also search the knowledgebases at http://www.ibphoenix.com m> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ m> Yahoo! Groups Links -- Dmitry Kuzmenko, www.ib-aid.com