From caeee35fd5b9f240818144f2ddc4cb09fa6675e5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 23 Aug 2012 23:00:48 +0400 Subject: self-update: clarify is_writable check on work_dir --- include/update_self.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/update_self.php') diff --git a/include/update_self.php b/include/update_self.php index 1a4b0a344..cb3482ab0 100644 --- a/include/update_self.php +++ b/include/update_self.php @@ -15,9 +15,12 @@ switch ($step) { case 0: + array_push($log, "Work directory: $work_dir"); if (!is_writable($work_dir) && !is_writable("$parent_dir")) { - array_push($log, "Both current and parent directories should be writable as current user."); + $user = posix_getpwuid(posix_geteuid()); + $user = $user["name"]; + array_push($log, "Both tt-rss and parent directories should be writable as current user ($user)."); $stop = true; break; } -- cgit v1.2.3