From: Ramsay Jones Date: Tue, 08 Jul 2008 22:27:08 GMT Subject: Re: "make test" works again (sort-of) on cygwin. Message-ID: <4873E9BC.5040708@ramsay1.demon.co.uk> In-Reply-To: <20080706231146.GE17659@steel.home> Alex Riesen wrote: > Ramsay Jones, Sat, Jul 05, 2008 22:09:31 +0200: >> Alex Riesen wrote: >>> Ramsay Jones, Thu, Jul 03, 2008 19:44:28 +0200: >>> >>>> Anyhow, the "sort-of" in the subject line, relates to the fact that >>>> I am seeing some test failures. In particular, all tests in >>>> t0004-unwritable.sh and tests 21->24 in t3700-add.sh. All of these >>>> tests involve chmod/permissions ... >>> Don't run "make test" as root (or "backup operator" on windows). >>> OTOH, a windows machine is almost useless, unless you're a member of >>> local administrators group (which includes "backup" permission). >>> >> Ah, yes... I am a "Computer administator" aren't I ;-) I totally forgot! >> >> Hmm, but is that really the reason for these failures? After all, (referring >> to the example you snipped) the permissions are respected for creating >> files in the directory, just not directories. Is the "root" user on >> windows only selectively omnipotent? > > It is (it is the backup operators who can read open, even locked, > files), but it is boringly hard to find when and where. You can try > reading MSDN (or better don't, you'll live longer if you don't). > > Yeah, I'm afraid I've had to serve that sentence (several times) in the past; I'm still trying to figure out what my crime was... ;P ATB, Ramsay Jones