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. cgf