From e64483521bdbdfad9c042861db67c863b8e747d0 Mon Sep 17 00:00:00 2001 From: laf Date: Sat, 23 Apr 2016 15:13:43 +0000 Subject: [PATCH] Added command to chown install dir to correct user --- validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate.php b/validate.php index 7bbdd04bc2..a130921cfc 100755 --- a/validate.php +++ b/validate.php @@ -109,7 +109,7 @@ if (isset($config['user'])) { // This isn't just the log directory, let's print the list to the user $files = explode(PHP_EOL, $find_result); if (is_array($files)) { - print_fail("We have found some files that are owned by a different user than $tmp_user, this will stop you updating automatically and / or rrd files being updated causing graphs to fail:\n"); + print_fail("We have found some files that are owned by a different user than $tmp_user, this will stop you updating automatically and / or rrd files being updated causing graphs to fail:\nIf you don't run a bespoke install then you can fix this by running `chown -R $tmp_user:$tmp_user ".$config['install_dir']."`"); foreach ($files as $file) { echo "$file\n"; }