From cbc0d672b7e2a0668cfa9c9aefc2d044bb12745a Mon Sep 17 00:00:00 2001
From: Dominik Müller <info@profi-webdesign.com>
Date: Fri, 16 May 2014 16:34:20 -0400
Subject: [PATCH] change uid/gid fields in mail_user from unsigned to signed (in incremental sql-files this was already done in upd_0064.sql)

---
 install/dist/lib/opensuse.lib.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/install/dist/lib/opensuse.lib.php b/install/dist/lib/opensuse.lib.php
index c918640..280984e 100644
--- a/install/dist/lib/opensuse.lib.php
+++ b/install/dist/lib/opensuse.lib.php
@@ -1119,6 +1119,9 @@
 				$command = 'usermod -a -G ispapps '.$conf['nginx']['user'];
 				caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
 			}
+			// add nobody user to www group, as the default php-fpm pool from opensuse runs as nobody
+			$command = 'usermod -a -G www nobody';
+			caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
 		}
 
 		//* Make the shell scripts executable

--
Gitblit v1.9.1