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

msfdb: ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied for schema public + solution #19442

Open
fabpiaf opened this issue Sep 6, 2024 · 2 comments

Comments

@fabpiaf
Copy link

fabpiaf commented Sep 6, 2024

run_cmd('bundle exec rake db:migrate')

This line fails with ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied for schema public

my fix was

psql --dbname msf --username postgres --command "grant all on schema public to msf"

maybe its worth to include that into msfdb

Copy link

github-actions bot commented Oct 7, 2024

Hi!

This issue has been left open with no activity for a while now.

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

@github-actions github-actions bot added the Stale Marks an issue as stale, to be closed if no action is taken label Oct 7, 2024
@fabpiaf
Copy link
Author

fabpiaf commented Oct 15, 2024

not stale I guess?

@github-actions github-actions bot removed the Stale Marks an issue as stale, to be closed if no action is taken label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant