title: Linux Wordpress can't not write wp-config file
body: <p>I installed the latest version of Apache2 / PHP / MYSQL on my pc</p>
  
  <p>In the directory /srv/www/htdocs I created a directory wordpress with all wordpress file.</p>
  
  <p>Then, when I tried to create the wp-config file through the web interface I get this error :</p>
  
  <pre><code>Sorry, but i can't write the wp-config file.
  </code></pre>
  
  <p>I tried this command to change the group of <code>/src/www/htdocs/wordpress</code></p>
  
  <pre><code>chown -R root:root /srv/www/htdocs/wordpress
  </code></pre>
  
  <p>But it was not working. After some research, i seen lot of people saying to change the group to <code>www-data</code> but i do not see <code>www-data</code> using this commande :</p>
  
  <pre><code>cut -d: -f1 /etc/group
  </code></pre>
  
  <p>Anyone know what I am doing wrong ?</p>
  
  <p><img src="https://i.stack.imgur.com/c83Gz.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/dQDZa.png" alt="enter image description here"></p>
  
  <p>Sorry about my poor english.</p>