title: Newly created folder permission rights issue
body: <p>Hope you are good. I have Xammp on fedora and changed owner of <code>opp/lampp/htdoc</code> to root. Why I did so because whenever someone creates new folder through sharing, they don't have permission to dynamically create folder or files or to write images. Then I run command</p>
  
  <pre><code>chmod -R 777 /opt/lampp/htdocs
  </code></pre>
  
  <p>But when system goes to restart then I again need to run this command. So avoid again and again run this command I changed the owner on "opt/lampp/htdocs" and run </p>
  
  <pre><code>chmod -R 777 /opt/lampp/htdocs
  </code></pre>
  
  <p>Now, whenever server restarts, assigned permissions don't need to be set again and again. That is resolved. </p>
  
  <p>I have an issue, that old directories can be used to write something. But if any network user creates new directory under <code>htdocs</code>, that new directory needs to be changed the permission for it.  </p>
  
  <ul>
  <li><p><em>previously created, and can use this one directory to run script to create files</em>  </p>
  
  <pre><code>drwxrwxrwx   2 root root     4096 2011-06-15 14:09 aaa
  </code></pre></li>
  <li><p><em>Newly created, cannot be used to run a script to create image or to write anything</em></p>
  
  <pre><code>drwxr-xr-x   2 root root     4096 2011-06-17 15:17 aaaa
  </code></pre></li>
  </ul>
  
  <p><code>drwxr-xr-x</code> this one is really annoying to me for each newly created folder in <code>htdocs</code> :(</p>
  
  <p>Just to let you know that my <code>htdocs</code> user and rights are:  </p>
  
  <pre><code> drwxrwxrwx 101 root root  4096 2011-06-17 15:17 htdocs
  </code></pre>
  
  <p>Why is it so? Can anybody please help me to figure this problem out? I am waiting for quick response anxiously. </p>