Till Brehm
2014-08-13 3e0fc8674ab8d1106d324eab809b49e420481e54
Changed owner of ispconfig server files from ispconfig to root user.
4 files modified
72 ■■■■ changed files
install/dist/lib/fedora.lib.php 18 ●●●● patch | view | raw | blame | history
install/dist/lib/gentoo.lib.php 18 ●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php 18 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php 18 ●●●● patch | view | raw | blame | history
install/dist/lib/fedora.lib.php
@@ -958,12 +958,22 @@
            $this->db->query($sql);
        }
        //* Chmod the files
        $command = "chmod -R 750 $install_dir";
        /// chown install dir to root and chmod 755
        $command = 'chown root:root '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        $command = 'chmod 755 '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the files to the ispconfig user and group
        $command = "chown -R ispconfig:ispconfig $install_dir";
        //* Chmod the files and directoreies in the install dir
        $command = 'chmod -R 750 '.$install_dir.'/*';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the interface files to the ispconfig user and group
        $command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the server files to the root user and group
        $command = 'chown -R root:root '.$install_dir.'/server';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* Make the global language file directory group writable
install/dist/lib/gentoo.lib.php
@@ -850,12 +850,22 @@
            $this->db->query($sql);
        }
        //* Chmod the files
        $command = "chmod -R 750 $install_dir";
        // chown install dir to root and chmod 755
        $command = 'chown root:root '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        $command = 'chmod 755 '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the files to the ispconfig user and group
        $command = "chown -R ispconfig:ispconfig $install_dir";
        //* Chmod the files and directoreies in the install dir
        $command = 'chmod -R 750 '.$install_dir.'/*';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the interface files to the ispconfig user and group
        $command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the server files to the root user and group
        $command = 'chown -R root:root '.$install_dir.'/server';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* Make the global language file directory group writable
install/dist/lib/opensuse.lib.php
@@ -1028,12 +1028,22 @@
            $this->db->query($sql);
        }
        //* Chmod the files
        $command = "chmod -R 750 $install_dir";
        // chown install dir to root and chmod 755
        $command = 'chown root:root '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        $command = 'chmod 755 '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the files to the ispconfig user and group
        $command = "chown -R ispconfig:ispconfig $install_dir";
        //* Chmod the files and directoreies in the install dir
        $command = 'chmod -R 750 '.$install_dir.'/*';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the interface files to the ispconfig user and group
        $command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the server files to the root user and group
        $command = 'chown -R root:root '.$install_dir.'/server';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* Make the global language file directory group writable
install/lib/installer_base.lib.php
@@ -1885,12 +1885,22 @@
        }
        //* Chmod the files
        $command = 'chmod -R 750 '.$install_dir;
        // chown install dir to root and chmod 755
        $command = 'chown root:root '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        $command = 'chmod 755 '.$install_dir;
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the files to the ispconfig user and group
        $command = 'chown -R ispconfig:ispconfig '.$install_dir;
        //* Chmod the files and directoreies in the install dir
        $command = 'chmod -R 750 '.$install_dir.'/*';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the interface files to the ispconfig user and group
        $command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* chown the server files to the root user and group
        $command = 'chown -R root:root '.$install_dir.'/server';
        caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        //* Make the global language file directory group writable