I deploy most of vtiger as root-owned, with the following list of files owned by apache:<div><br></div><div><div>cache</div><div>logs</div><div>parent_tabdata.php</div><div>storage</div><div>tabdata.php</div><div>test</div>
<div>Smarty/cache</div><div>Smarty/templates_c</div><div>user_privileges</div><div><br></div><div>The only real problem that I&#39;ve had is when I want to install an extension module from zip file, I have to import them with a small script run as root, then manually deal with the permissions of that module -- often 777!</div>
<div><br></div><div><div>#!/usr/bin/php</div><div>&lt;?php</div><div>require_once(&#39;include/utils/utils.php&#39;);</div><div>for ($i = 1; $i &lt; $argc; $i++) {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>installVtlibModule($argv[$i], $argv[$i]);</div>
<div>}</div></div><div><br></div>
</div>