Re: [ADMIN] "global/pg_control": Permission denied - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: [ADMIN] "global/pg_control": Permission denied
Date
Msg-id 20071115181948.GA17793@alvh.no-ip.org
Whole thread Raw
In response to Re: [ADMIN] "global/pg_control": Permission denied  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-general
Richard Broersma Jr wrote:
> --- On Thu, 11/15/07, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>
> > What is the problem with the file?
>
> I looked at the pg_control file, postgres had the proper permission to it.
>
> > Why is it not accessible to Postgres?
> > My guess is that something (antivirus?) was messing with
> > the file when the system died.
>
> It seems that last night a windows service pack as added.  I noticed that the global directory was marked as
(grey-ed)read-only. I removed the read-only flag and postgres started up :-).  I restarted my antivirus and postgres is
stillworking. 
>
> Is the global directory supposed to be marked read only?

I don't think so.  Postgres writes to it.

--
Alvaro Herrera                  http://www.amazon.com/gp/registry/5ZYLFMCVHXC
We take risks not to escape from life, but to prevent life escaping from us.

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Postgresql and resource isolation
Next
From: Andrew Sullivan
Date:
Subject: Re: Postgresql and resource isolation