title: how to change user (www-data) to root
body: <p>I do not know what happens...but in my laptop, all folders and files have user www-data instead of root.</p>
  
  <p>in directory /desktop /music ....alll directories ..</p>
  
  <p>how can I change user root?</p>
  
  <p>I use command </p>
  
  <pre><code>chown -R www-data:root /
  chown -R root:www-data /
  </code></pre>
  
  <p>any ideas??
  I tried a lot but I am not able to change the user for files and directories.</p>
  
  <p>even I tried lots of commands but I do not know how can I change user as root </p>