title: Intellij IDEA server configuration permission issue with Wildfly 8.1
body: <p>I am running Intellij 13 on Ubuntu, Wildfly 8.1 resides locally.</p>
  
  <p>Wildfly startup script requires sudo/root permissions. Intellij is installed and runs under my username, and IntelliJ is not able to start the application sever and deploy my war file, and the errors all point to a permission problem:</p>
  
  <p>.
  .
  java.lang.IllegalStateException: JBAS014922: Directory /opt/wildfly-8/standalone/data/content is not writable
  .
  .
  java.io.FileNotFoundException: /opt/wildfly-8/standalone/log/server.log (Permission denied)</p>
  
  <p>I tried setting username and password in the Run | Edit Configurations form but it appears that is for something else. </p>
  
  <p>Since I login to Intellij with my local username, it cannot start the application server without additional information to start the script, but I'm not able to locate where that information should go.</p>
  
  <p>The owner of the files and directories under /opt/wildfly-8 are wildfly.wildfly</p>
  
  <p>Wildfly starts up cleanly via "sudo /etc/init.d/wildfly-8 start"</p>