Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 22 Sep 2005 12:04:04 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: fstat gives wrong mode after chmod and fchmod Message-ID: <20050922100404.GB24363@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20050918222256 DOT GA3420 AT efn DOT org> <20050922033112 DOT GA920 AT efn DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050922033112.GA920@efn.org> User-Agent: Mutt/1.4.2i On Sep 21 20:31, Yitzchak Scott-Thoennes wrote: > On Sun, Sep 18, 2005 at 03:22:56PM -0700, Yitzchak Scott-Thoennes wrote: > > I'm seeing this on the 20050916 but as far as I know it's not a > > regression. A new perl test (actually using an existing file opened > > for read access) turned this up. > > > > The following gives: > > after fchmod to 0 and chmod to 0666, stat: 666 fstat: 444 > > Does anyone else see this? Yes, I've tracked it down and have a patch in the loop. Stay tuned. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/