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
$webservergroup
is set in localconfig.- Params:
$output
-true
if 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.