title: WordPress working only with permissions as 777
body: <p>I have installed WordPress on my VPS server. (Centos, Linux, apache). But after installing, WordPress is not able to create files. </p>
  
  <p>If I set the permissions for WordPress directory and its subfolders as 777 everything is working fine. But I know setting 777 is very dangerous. </p>
  
  <p>What permissions should I set? or how can I fix this?</p>
  
  <p>I used this command to set permissions</p>
  
  <pre><code>chmod 777 wordpress_folder -R
  </code></pre>