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 10:48:41 -0700 From: Yitzchak Scott-Thoennes To: cygwin AT cygwin DOT com Subject: Re: fstat gives wrong mode after chmod and fchmod Message-ID: <20050922174841.GA2680@efn.org> References: <20050918222256 DOT GA3420 AT efn DOT org> <20050922033112 DOT GA920 AT efn DOT org> <20050922100404 DOT GB24363 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050922100404.GB24363@calimero.vinschen.de> User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes On Thu, Sep 22, 2005 at 12:04:04PM +0200, Corinna Vinschen wrote: > 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. Thanks, this is working now with the 20050922 snapshot. -- 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/