We are slowly rolling out Gradle in our enterprise and many devs with Macs are reporting random build failures specially during delete, processResources or compile. Errors are generally unable to delete file/folder or unable to copy files in build dirs. On investigation, looks like tasks are failing as these files somehow are marked with permission r–r--r-- (444) or r-x------ (500).
Are there any such reports and is a known issue. Devs use Intellij/Eclipse and share same build dir with Gradle. Is it possible IDEs are locking these files. Any lead will be great help.