diff options
| author | spiderr <spiderr@bitweaver.org> | 2025-06-01 00:09:52 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2025-06-01 00:09:52 -0400 |
| commit | 04134e5d020271063b3a79776c72f26e344f6bbb (patch) | |
| tree | 16fa42b91075f47f1c5e3ad90425ef0bb55daefb | |
| parent | 98a490e4ebaff4b0a6bf0005811b6478eb3c467b (diff) | |
| download | install-04134e5d020271063b3a79776c72f26e344f6bbb.tar.gz install-04134e5d020271063b3a79776c72f26e344f6bbb.tar.bz2 install-04134e5d020271063b3a79776c72f26e344f6bbb.zip | |
update config file error message with SELinux remedy
| -rw-r--r-- | includes/install_checks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/install_checks.php b/includes/install_checks.php index 3a3ea11..641a05a 100644 --- a/includes/install_checks.php +++ b/includes/install_checks.php @@ -48,7 +48,7 @@ function check_settings() { $required[$i]['note'] = 'The Bitweaver configuration file is available and the file is writeable:<br /><code>'.$config_file.'</code>'; $required[$i]['passed'] = TRUE; } elseif( @file_exists( $config_file ) && !@bw_is_writeable( $config_file ) ) { - $required[$i]['note'] = 'The Bitweaver configuration file is available but the file is not writeable. Please execute something like:<br /><code>chmod 777 '.$config_file.'</code>'; + $required[$i]['note'] = 'The Bitweaver configuration file is available but the file is not writeable. Please execute something like:<br /><code>chmod 777 '.$config_file.'<br>chcon unconfined_u:object_r:httpd_sys_rw_content_t:s0 '.$config_file.'</code>'; $required[$i]['passed'] = FALSE; } else { $required[$i]['note'] = 'The Bitweaver configuration file is not available. Please execute something like:<br /><code>touch '.$config_file.';<br />chmod 777 '.$config_file.'</code>'; |
