Re: [GENERAL] "global/pg_control": Permission denied

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
Cc: PostgreSQL Administration <pgsql-admin(at)postgresql(dot)org>, General PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] "global/pg_control": Permission denied
Date: 2007-11-15 18:19:49
Message-ID: 20071115181948.GA17793@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Richard Broersma Jr wrote:
> --- On Thu, 11/15/07, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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 still working.
>
> 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Trent Pingenot 2007-11-15 21:02:35 PG Service won't start
Previous Message Richard Broersma Jr 2007-11-15 18:09:12 Re: [GENERAL] "global/pg_control": Permission denied

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2007-11-15 18:30:13 Re: Postgresql and resource isolation
Previous Message Joshua D. Drake 2007-11-15 18:19:19 Re: Postgresql and resource isolation