Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3DF5B2E2E60; Thu, 15 Nov 2007 14:19:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 82710-01; Thu, 15 Nov 2007 14:19:02 -0400 (AST) Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 987662E2E5E; Thu, 15 Nov 2007 14:19:20 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-103-36.bk7-dsl.surnet.cl [200.126.103.36]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id lAFIJGmp017553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Nov 2007 10:19:19 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1A6B147C0D; Thu, 15 Nov 2007 15:19:49 -0300 (CLST) Date: Thu, 15 Nov 2007 15:19:49 -0300 From: Alvaro Herrera To: Richard Broersma Jr Cc: PostgreSQL Administration , General PostgreSQL List Subject: Re: [GENERAL] "global/pg_control": Permission denied Message-ID: <20071115181948.GA17793@alvh.no-ip.org> References: <20071115172707.GH19014@alvh.no-ip.org> <210279.82664.qm@web31801.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <210279.82664.qm@web31801.mail.mud.yahoo.com> User-Agent: Mutt/1.5.16 (2007-06-11) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Thu, 15 Nov 2007 10:19:19 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/158 X-Sequence-Number: 27401 Richard Broersma Jr wrote: > --- On Thu, 11/15/07, Alvaro Herrera 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.