[Patch]: fs_info::update

Pierre A. Humblet pierre@phumblet.no-ip.org
Fri Jan 28 15:18:00 GMT 2005



Christopher Faylor wrote:
> 
> On Fri, Jan 28, 2005 at 10:10:56AM -0500, Pierre A. Humblet wrote:
> >Corinna Vinschen wrote:
> >>This looks pretty much like a band-aid.  I can see the use for checking
> >>the last error code, but shouldn't Cygwin opt for safety and not assume
> >>ACLs?  Also, if there's no right to read a remote drive, there might be
> >>a good reason for that, which doesn't necessarily mean the drive has
> >>acls.
> >>
> >>After all, the effect of chmod -r can be reverted with Windows own
> >>means.
> >
> >Background: I noticed all of that when testing the
> >SetCurrentDirectory("c:\\").  Took me a while to understand why chmod
> >stopped working.  On XP HOME there is no security gui, so I had to use
> >cacls.  Not nice.
> 
> Are you saying this is somehow a side-effect of
> SetCurrentDirectory("c:\\") in exit()?  I can't imagine how that change
> could cause this behavior.

No, no. I was checking that the rmdir bug would come back if I removed
access to c:\ (It did).

Pierre



More information about the Cygwin-patches mailing list