From 5c93f0844f2482d597411c47e0e75849d59491c6 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 01 Apr 2014 05:08:48 -0400
Subject: [PATCH] Fixed: FS#3420 - SSH user keys get replaced in website Fixed a bug in Opensuse installer (permissions of squirrelmail files) Fixed a issue in smtp-authentication on courier-imap systems when custom usernames are used.

---
 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 fdb7af0..35f60db 100644
--- a/install/dist/lib/opensuse.lib.php
+++ b/install/dist/lib/opensuse.lib.php
@@ -1094,6 +1094,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