From: Frik Brits <fbrits@lantic.net>
To: pgsql-bugs@postgresql.org
Subject: permissions.
Date: Tue, 12 Jan 2016 13:46:21 +0200
Message-ID: <3745212.bpIu2xAVPv@linux-cj2v> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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@linux-cj2v:/etc/alternatives> postgres -D /bigdisk/data/postgres &
[1] 10438
frik@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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: fbrits@lantic.net
Subject: Re: permissions.
In-Reply-To: <3745212.bpIu2xAVPv@linux-cj2v>
References: <3745212.bpIu2xAVPv@linux-cj2v>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox