<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> Bugzilla::Install::Filesystem</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" title="style" type="text/css" href="../.././../../../style.css" media="all" > </head> <body id="pod"> <p class="backlinktop"><b><a name="___top" href="../../index.html" accesskey="1" title="All Documents"><<</a></b></p> <h1>Bugzilla::Install::Filesystem</h1> <div class='indexgroup'> <ul class='indexList indexList1'> <li class='indexItem indexItem1'><a href='#NAME'>NAME</a> <li class='indexItem indexItem1'><a href='#DESCRIPTION'>DESCRIPTION</a> <li class='indexItem indexItem1'><a href='#SUBROUTINES'>SUBROUTINES</a> </ul> </div> <h1><a class='u' href='#___top' title='click to go to top of document' name="NAME" >NAME</a></h1> <p>Bugzilla::Install::Filesystem - Fix up the filesystem during installation.</p> <h1><a class='u' href='#___top' title='click to go to top of document' name="DESCRIPTION" >DESCRIPTION</a></h1> <p>This module is used primarily by <a href="../../checksetup.pl.html" class="podlinkpod" >checksetup.pl</a> to modify the filesystem during installation, including creating the data/ directory.</p> <h1><a class='u' href='#___top' title='click to go to top of document' name="SUBROUTINES" >SUBROUTINES</a></h1> <dl> <dt><a name="update_filesystem({_index_html_=_0_})>" ><code class="code">update_filesystem({ index_html =</code> 0 })></a></dt> <dd> <p>Description: Creates all the directories and files that Bugzilla needs to function but doesn't ship with. Also does any updates to these files as necessary during an upgrade.</p> <p>Params: <code class="code">index_html</code> - Whether or not we should create the <em class="code">index.html</em> file.</p> <p>Returns: nothing</p> <dt><a name="create_htaccess()" ><code class="code">create_htaccess()</code></a></dt> <dd> <p>Description: Creates all of the .htaccess files for Apache, in the various Bugzilla directories. Also updates the .htaccess files if they need updating.</p> <p>Params: none</p> <p>Returns: nothing</p> <dt><a name="fix_all_file_permissions($output)" ><code class="code">fix_all_file_permissions($output)</code></a></dt> <dd> <p>Description: Sets all the file permissions on all of Bugzilla's files to what they should be. Note that permissions are different depending on whether or not <code class="code">$webservergroup</code> is set in <em class="code">localconfig</em>.</p> <p>Params: <code class="code">$output</code> - <code class="code">true</code> if you want this function to print out information about what it's doing.</p> <p>Returns: nothing</p> <dt><a name="fix_file_permissions" ><code class="code">fix_file_permissions</code></a></dt> <dd> <p>Given the name of a file, its permissions will be fixed according to how they are supposed to be set in Bugzilla's current configuration. If it fails to set the permissions, a warning will be printed to STDERR.</p> </dd> </dl> <p class="backlinkbottom"><b><a name="___bottom" href="../../index.html" title="All Documents"><<</a></b></p> <!-- end doc --> </body></html>