5.7.42. Bugzilla::Install::FilesystemÂķ
5.7.42.1. NAMEÂķ
- Bugzilla::Install::Filesystem - Fix up the filesystem during
- installation.
5.7.42.2. DESCRIPTIONÂķ
This module is used primarily by checksetup.pl to modify the filesystem during installation, including creating the data/ directory.
5.7.42.3. SUBROUTINESÂķ
update_filesystem({ index_html =0 })>
- 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.
- Params:
index_html- Whether or not we should create- the index.html file.
Returns: nothing
create_htaccess()
- Description: Creates all of the .htaccess files for Apache,
- in the various Bugzilla directories. Also updates the .htaccess files if they need updating.
Params: none
Returns: nothing
fix_all_file_permissions($output)
- 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
$webservergroupis set in localconfig.- Params:
$output-trueif you want this function to print- out information about what itâs doing.
Returns: nothing
fix_dir_permissions
Given the name of a directory, 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.
fix_file_permissions
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.