greenbone / docs

Documentation for the Greenbone Community Edition
https://greenbone.github.io/docs/
Creative Commons Attribution Share Alike 4.0 International
23 stars 32 forks source link

Fix: Avoid permission errors when setting up postgres db #326

Closed bjoernricks closed 1 year ago

bjoernricks commented 1 year ago

What

Avoid permission errors when setting up postgres db

Why

Depending on the default settings for creating a user the current working directory may not be executable and readable for the postgres user. When running the commands for setting up the postgres database in this home directory permission errors may be raised. To avoid that change into the home directory of the postgres user before setting up the database.