commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [VOTE] IO 1.3.1 (RC3)
Date Fri, 16 Feb 2007 17:47:18 GMT
Henri Yandell wrote:

> On 2/15/07, Jörg Schaible <joerg.schaible@gmx.de> wrote:
>> Oliver Heger wrote:
>>
>> > For the protocol: I think I know now what is going on:
>> >
>> > Some tests in FileUtilsCleanDirectoryTestCase try to delete files that
>> > have been set to read-only. This is expected to throw an exception. To
>> > set the read-only flag the method chmod() tries to execute the unix
>> > "chmod" command. If this fails (which should normally be the case on
>> > windows), the test is ignored.
>> >
>> > Now I am on windows, but I happen to have some unix commands in my path
>> > (these are windows ports of some typical unix commands), including
>> > chmod. So the execution of chmod is successful, but obviously the
>> > command does not have the desired effect: the files can be deleted, and
>> > no exception is thrown. This causes the tests to fail.
>> >
>> > I guess this is a rather unusual scenario.
>>
>> Well, IMHO not *that* unusual. A lot of people use Cygwin (incl. myself),
>> MKS Toolkit, Microsoft's Posix Tools, MingW32 or software that installs
>> such things to run. On a Windows box c-io should not try to run chmod.
> 
> Agreed. Could someone add it to JIRA?

Done. IO-115.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message