permissions.

From: Frik Brits <fbrits(at)lantic(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: permissions.
Date: 2016-01-12 11:46:21
Message-ID: 3745212.bpIu2xAVPv@linux-cj2v
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Hello,
What is to be done here, below between the lines is an excerpt from my
bash console if I want to start PostgreSQL.

-----------------------------------------------------------------------------------------------------
frik(at)linux-cj2v:/etc/alternatives> postgres -D /bigdisk/data/postgres &
[1] 10438
frik(at)linux-cj2v:/etc/alternatives> 2016-01-12 13:09:29 SAST FATAL: could
not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Permission
denied
------------------------------------------------------------------------------------------------------

mySQL has the same problems. Perhaps worse.I know u do not do mySQL stuff, but
still.

I can go fix this by changing the permissions of /var/run and
/var/run/postgresql/ direc tories but then one will have to change it every
single time I want to start the databse. O by the way starting it as a service
is even worse because the then it wants to work in it own data directory.

Can this not be fixed, I mean linux is linux whichever flavour one my want to
use?.

Fortunately not all linux programs have these strange permissions hickups.

Regards
Frik Brits

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ryan Park 2016-01-12 18:15:56 Re: BUG #13818: PostgreSQL crashes after cronjob runs as "postgres"
Previous Message Michael Paquier 2016-01-12 01:46:28 Re: BUG #13858: Server with debugger installed consumes 100% of one CPU core

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2016-01-12 11:54:07 German, was: Re: Code of Conduct: Is it time?
Previous Message Achilleas Mantzios 2016-01-12 11:17:33 Re: Code of Conduct: Is it time?