title: Change the Windows file permission using Gradle
body: <p>Is there any way to change the file permission using Gradle. When I download the code from source control all the files are in read-only mode. But I want to update project config files version according to Gradle script property value.</p>
  
  <p>I have used ant.propertyfile task to update the conf.properties file abc key.</p>
  
  <pre><code>ant.propertyfile(
  
     file: "/conf/conf.properties") {
     entry( key: "abc", value: "value1")
  }
  </code></pre>
  
  <p>when I try to build the project I am getting access denied error message. Please can some one help me to sole this issue.</p>