Hi there,
the files changed in version 1.0.7 omega (maybe earlier versions too).
So here are new patches for version 1.0.7.
Code:
--- /var/www/ispcp/engine/setup/ispcp-setup.orig 2011-01-27 16:32:19.000000000 +0100
+++ /var/www/ispcp/engine/setup/ispcp-setup 2011-01-27 16:32:31.000000000 +0100
@@ -306,7 +306,7 @@
push_el(\@main::el, 'setup_system_dirs()', 'Starting...');
for (
- [$main::cfg{'APACHE_WWW_DIR'}, $main::cfg{'APACHE_USER'},$main::cfg{'APACHE_GROUP'}],
+ [$main::cfg{'APACHE_WWW_DIR'}, $main::cfg{'ROOT_USER'},$main::cfg{'ROOT_GROUP'}],
[$main::cfg{'APACHE_USERS_LOG_DIR'}, $main::cfg{'APACHE_USER'},$main::cfg{'APACHE_GROUP'}],
[$main::cfg{'APACHE_BACKUP_LOG_DIR'}, $main::cfg{'ROOT_USER'},$main::cfg{'ROOT_GROUP'}],
[$main::cfg{'MTA_VIRTUAL_CONF_DIR'}, $main::cfg{'ROOT_USER'},$main::cfg{'ROOT_GROUP'}],
Code:
--- /var/www/ispcp/engine/ispcp-dmn-mngr.orig 2011-01-27 16:33:37.000000000 +0100
+++ /var/www/ispcp/engine/ispcp-dmn-mngr 2011-01-27 16:44:05.000000000 +0100
@@ -1551,6 +1551,7 @@
my $dmn_id = @$dmn_data[0];
my $dmn_name = @$dmn_data[1];
my $root_dir = $main::cfg{'ROOT_DIR'};
+ my $root_user = $main::cfg{'ROOT_USER'};
my $www_dir = $main::cfg{'APACHE_WWW_DIR'};
my $pear_dir = $main::cfg{'PEAR_DIR'};
my $starter_dir = $main::cfg{'PHP_STARTER_DIR'};
@@ -1592,7 +1593,7 @@
# Domain WWW directories
- $rs = make_dir("$www_dir/$dmn_name", $sys_user, $httpd_gid, 0770);
+ $rs = make_dir("$www_dir/$dmn_name", $root_user, $sys_group, 0755);
return $rs if ($rs != 0);
$rs = make_dir("$www_dir/$dmn_name/cgi-bin", $sys_user, $sys_group, 0755);
It would be really nice to get a statement on sseitz question from one of the developers.
Quote:Could some developer sign-off these patches?
kind regards
Alex