Cannot copy between different mount points with Gradle 2.0 on Ubuntu

I have found a regression on the Copy task:
Under Ubuntu 12, I have two samba shares (mounted via fstab); Copying from one into another works from a terminal, but when using a Copy task in Gradle, it fails (see stacktrace).
The copy is pretty straightforward:

task copyFail(type: Copy) { <br />
   from '/mnt/mount1/version&#46;txt' <br />
   into '/mnt/mount2/' <br /> }



The error seems to come from an error when tryning to launch stat on the file (net.rubygrapefruit.platform.NativeException: Could not get posix file details of /mnt/(…)/version.txt: could not stat file (errno 75))
I tried to run stat on the file, it gives no error.
Googling errno 75 seems to link it to ‘Value too large for defined data type’, but that doesn’t help me much. Any Idea?

PS: in fact, it’s a regression in Gradle 2.0 (it works under Gradle 1.11), but I just upgraded to 2.0, and decided to test the 2.1-RC1 right away. Tell me if if I should post this elsewhere. Note: This topic was created from a reply on the Gradle 2.1-rc-1 is now available for testing topic.

Hi,

This will likely require a fix in our native integration. I’ve raised GRADLE-3158 for this.

Thanks for reporting.

Hi,

I didn’t get any feedback on my patch proposal for this regression: is there any way I can help ?

Hi,

Any chance that my pull request gets merged for release 2.2? Again, If there’s anything I can do to help please tell me.