Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gbak with service_mgr resolves unknown path to the system directory [CORE1243] #1667

Open
firebird-automations opened this issue May 4, 2007 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @reevespaul

A command such as this:

gbak -b -service localhost:service_mgr c:\firebird\examples\employee.fdb employee.fbk

will generate the backup file in the system directory. However, if the service manager is not used the backup file is placed in the current directory (as one would expect.)

I can't see how this could be exploited, but it is certainly not an example of good practice.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Backup via SvcMgr is done by the server in its address space. When it's running as a service, the current directory is %SYSTEM%. So technically, there are no bugs here. But I agree this is not very obvious from the user POV. Any better suggestions?

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 12010 ] => Firebird [ 15560 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant