summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2025-06-01 00:09:52 -0400
committerspiderr <spiderr@bitweaver.org>2025-06-01 00:09:52 -0400
commit04134e5d020271063b3a79776c72f26e344f6bbb (patch)
tree16fa42b91075f47f1c5e3ad90425ef0bb55daefb /includes
parent98a490e4ebaff4b0a6bf0005811b6478eb3c467b (diff)
downloadinstall-04134e5d020271063b3a79776c72f26e344f6bbb.tar.gz
install-04134e5d020271063b3a79776c72f26e344f6bbb.tar.bz2
install-04134e5d020271063b3a79776c72f26e344f6bbb.zip
update config file error message with SELinux remedy
Diffstat (limited to 'includes')
-rw-r--r--includes/install_checks.php2
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>';