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

Make dev.sh pulldb save db.dump into /tmp #155

Open
alexgleason opened this issue May 6, 2018 · 0 comments
Open

Make dev.sh pulldb save db.dump into /tmp #155

alexgleason opened this issue May 6, 2018 · 0 comments
Labels

Comments

@alexgleason
Copy link
Contributor

Just ran into an issue where a previously-created db.dump was actually not owned by the current user. This would happen if you were to, eg, run sudo ./dev.sh pulldb where db.dump would be owned by root instead.

If we store db.dump into /tmp instead we can give it a somewhat randomized temporary name and let the system clean it up. This seems more appropriate and will prevent permission bugs like this.

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

No branches or pull requests

1 participant