fstat gives wrong mode after chmod and fchmod

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Sep 22 10:21:00 GMT 2005


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/



More information about the Cygwin mailing list