title: Undo chown and chmod
body: <p>I'm new to Ubuntu. </p>
  
  <p>I ran the following commands to save files in htdocs folder (to conveniently use XAMPP for programming) without understanding its security consequences:</p>
  
  <pre><code>sudo chown username:groupname /opt/lampp/htdocs
  sudo chmod 700 /opt/lampp/htdocs
  </code></pre>
  
  <p>I would like to undo the file permissions (on the htdocs folder) to what it was before I ran the above commands.</p>
  
  <p>Any help is much appreciated, thanks.</p>