title: java.nio.file.AccessDeniedException error when using custom workspace in Jenkins and running the shell script of TestNG based Selenium tests
body: <p>I want to run the testng.xml file in Jenkins. I am using the custom workspace and I added <strong>Execute Shell</strong> as a build step.</p>
  
  <p>I am writing the following command to Execute Shell: </p>
  
  <pre><code>java -cp "./*:bin" org.testng.TestNG testng.xml 
  </code></pre>
  
  <p>All the required jar files and testng.xml file is inside <code>/home/wonderbiz/Documents/JarFolder</code></p>
  
  <p>When I am clicking on build now I am getting this exception.</p>
  
  <p><img src="https://i.stack.imgur.com/IsZIt.png" alt="enter image description here"></p>