Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aJ9sD-0001ko-Qi for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Jan 2016 01:05:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aJ9sC-0005zV-R2 for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Jan 2016 01:05:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aIxPG-0005bc-1a for pgsql-bugs@postgresql.org; Tue, 12 Jan 2016 11:46:34 +0000 Received: from smtp.afrihost.co.za ([169.1.1.73]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aIxPB-00062P-53 for pgsql-bugs@postgresql.org; Tue, 12 Jan 2016 11:46:31 +0000 Received: from 169-0-6-21.ip.afrihost.co.za ([169.0.6.21]:44770 helo=linux-cj2v.localnet) by smtp.afrihost.co.za with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84) (envelope-from ) id 1aIxP4-0000T7-79 for pgsql-bugs@postgresql.org; Tue, 12 Jan 2016 13:46:22 +0200 From: Frik Brits To: pgsql-bugs@postgresql.org Subject: permissions. Date: Tue, 12 Jan 2016 13:46:21 +0200 Message-ID: <3745212.bpIu2xAVPv@linux-cj2v> User-Agent: KMail/4.14.9 (Linux/3.16.7-29-desktop; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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