I put into my local copy a test inside the chmod method which does:

      String osName = System.getProperty("os.name");
      if (osName.startsWith("Windows")) {
        return;
      }

to bypass this on Windows...  Should I commit this?

-Marshall

On 11/25/2013 3:40 PM, Marshall Schor wrote:
> I see that Java has some methods that claim to set permissions for users and
> "other" (but not group - that needs some Java 7 support).  Perhaps these 
> methods
> could be use in the Crypto class, to be more platform independent?
>
> -Marshall
>
> On 11/25/2013 2:07 PM, Marshall Schor wrote:
>> for testing it is more convenient for me to be able to build on non-Linux
>> platforms, such as Windows.
>>
>> This used to work, but a recent change now runs a test which tries to issue 
>> the
>> "chmod" command, and fails.  Could this test be altered or somehow made to 
>> work
>> or be bypassed on Windows?
>>
>> -Marshall
>

Reply via email to