This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: fstat gives wrong mode after chmod and fchmod
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/