title: Plesk – PHP read and write to ‘root’ directory – permission
body: <p>Current dedicated server Plesk (10.3) server setup as follow:</p>
  
  <p>I have <strong>MainDomain</strong> setup to work in <code>httpdocs</code> (like public html) folder. Then I have <strong>two domains</strong> that are setup inside this folder, see structure below. </p>
  
  <p>All sites works fine, but the problem occurs, when <strong>domain1</strong> or <strong>domain2</strong> want to read/write to folder that is in  <code>httpdocs</code> in this case <strong>Test</strong>.</p>
  
  <pre><code>--- MainDomain
      -- Httpdocs
         -- Some files
         --  Test
         -- Domain1
          -- Some files
         -- Domain2
          -- Some files
  </code></pre>
  
  <p>Don’t know the exact issues, but I did set the owner and group permission to root, but did not work.</p>