• Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Any
  • Assigned To
    Jesús E.
    André Silva
  • Operating System All
  • Severity High
  • Priority Medium
  • Reported Version Any
  • Due in Version Milky Way v0.3
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by Jesús E. - 12/05/2018
Last edited by André Silva - 25/07/2019

FS#734 - [postgresql] creating directory Permission denied

In the File postgresql.install

the output is:

    ==> requires datadir /var/lib/data
    ==> run as user postgres: 'initdb -D /var/lib/data'

when it should be:

    ==> requires datadir /var/lib/postgres/data
    ==> run as user postgres: 'initdb -D /var/lib/postgres/data'

It may be necessary to change:

local datadir = "/var/lib/data"


local datadir = "/var/lib/postgres/data"

The comand for default fails:

creating directory /var/lib/data... initdb: could not create directory "/var/lib/data": Permission denied
Closed by  André Silva
25.07.2019 00:41
Reason for closing:  Fixed
Jesús E. commented on 28.07.2018 19:33
Date User Effort (H:M)


Available keyboard shortcuts


Task Details

Task Editing