Merge pull request #590 from pwielgolaski/master

small changes to make possible to run large gradle test on linux system and avoid playing with permissions