This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: fs_info::update

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]