Reputation: 41
I'm trying to configure an external formatter for SQL queries in DBeaver, but I'm encountering a "permission denied" error. I'm not very experienced with the command line and just started learning Linux, so I'm not very familiar with permissions.
Here are the steps I’ve taken so far:
test.sql
file, and the formatter worked from the terminal command.chmod +x
to give DBeaver execute access to my formatter located at /my/nvm/directory/versions/node/v22.3.0/bin/pg-formatter
.Despite this, the error persists.
Cannot run program "/my/nvm/directory/versions/node/v22.3.0/bin/pg-formatter": error=13, Permission denied
error=13, Permission denied
error=13, Permission denied
The formatter I'm trying to use is pg-formatter.
Can anyone help me understand why I'm getting this error and how to properly configure a formatter for DBeaver?
Upvotes: 0
Views: 188