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

steampipe should check data-dir permissions before starting service #659

Closed
binaek opened this issue Jul 21, 2021 · 0 comments · Fixed by #661
Closed

steampipe should check data-dir permissions before starting service #659

binaek opened this issue Jul 21, 2021 · 0 comments · Fixed by #661
Assignees
Labels
enhancement New feature or request

Comments

@binaek
Copy link
Contributor

binaek commented Jul 21, 2021

steampipe assumes that the data-dir is owned by the user running steampipe.

It should check that the data-dir is indeed owned by the user running steampipe and error out if not.

If it continues, then the underlying service will error out silently - rendering steampipe unusable with a cryptic error message: Error: could not establish connection with database

@binaek binaek added the enhancement New feature or request label Jul 21, 2021
@binaek binaek self-assigned this Jul 21, 2021
kaidaguerre pushed a commit that referenced this issue Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant