Current time: 12-22-2024, 10:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
SSH Support
Author Message
a.dangel Offline


Posts: 1
Joined: Jan 2011
Reputation: 0
Post: #5
RE: SSH Support
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
01-28-2011 02:24 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
SSH Support - sseitz - 09-23-2009, 11:44 PM
RE: SSH Support - kilburn - 09-24-2009, 01:05 AM
RE: SSH Support - sseitz - 09-24-2009, 08:16 AM
RE: SSH Support - sseitz - 09-24-2009, 09:43 PM
RE: SSH Support - a.dangel - 01-28-2011 02:24 AM
RE: SSH Support - anarking - 07-13-2011, 02:00 AM
RE: SSH Support - RatS - 07-14-2011, 06:20 AM
RE: SSH Support - mike548141 - 03-09-2012, 09:57 PM
RE: SSH Support - seo_urani - 06-16-2012, 01:22 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)