From c2336d81df9449c662563eaa0366fdd1bf387a22 Mon Sep 17 00:00:00 2001 From: Paul Barrett Date: Fri, 6 Nov 2009 15:02:37 +0200 Subject: [PATCH] Commented out code which changes ownership of log directory to nobody:root --- bin/scheduler.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/bin/scheduler.php b/bin/scheduler.php index b40bb7b..345a3b6 100644 --- a/bin/scheduler.php +++ b/bin/scheduler.php @@ -51,6 +51,8 @@ if(file_exists($lock)){ exit(0); } +// NOTE commented out because it was causing problems with the new locations in KnowledgeTree 3.7 +/* // If this is *nix and we are root then make sure file permisions are correct if(!OS_WINDOWS && (get_current_user() == 'root')) { @@ -62,6 +64,7 @@ if(!OS_WINDOWS && (get_current_user() == 'root')) $default->log->error('Scheduler: can\'t set owner to nobody - '.$e); } } +*/ /* ** Set up functions ** */ -- libgit2 0.21.4