pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
Date: Fri, 13 Jul 2012 22:19:04 -0700
Message-ID: <50010148.3080303@hogranch.com> (raw)
In-Reply-To: <E1SpfTr-0004sc-RC@wrigleys.postgresql.org>
References: <E1SpfTr-0004sc-RC@wrigleys.postgresql.org>

On 07/13/12 6:00 AM, tsialiam@gmail.com wrote:
> PANIC:  42501: could not open control file "global/pg_control": Permission
> denied

start a CMD prompt ('dos') via 'run as admin'.
from this privileged command window,

     CACLS \path\to\pg\data /T /E /G pss-svc:(OI)(CI)F

then try restarting postgres.

LOCAL_SYSTEM created the files, and owns them.

Oh, the pss-svc user should not be a member of Administrators.




-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast




view thread (7+ messages)  latest in thread

Message-ID: <50010148.3080303@hogranch.com>
Permalink:  ../50010148.3080303@hogranch.com/
Also on:    postgresql.org/message-id/50010148.3080303@hogranch.com

 · 

reply

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: pierce@hogranch.com
  Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
  In-Reply-To: <50010148.3080303@hogranch.com>
  References: <E1SpfTr-0004sc-RC@wrigleys.postgresql.org> <50010148.3080303@hogranch.com>

* 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