Created a new vps setup with ispconfig 3.0.5.3 using ubuntu 13.04. This is a clean setup I used perfect The Perfect Server - Ubuntu 13.04 (nginx.. for my guide for installing. All other functions of ispconfig seem to be working correctly. No install issues with other patches. Seems everything works until I apply the patch.3053_backupdownload Output gives me --------------------------------------------------------------- Hunk #1 FAILED at 57. 1 out of 1 hunk FAILED -- saving rejects to file interface/lib/classes/plugin_ba ckuplist.inc.php.rej --------------------------------------------------------------- Contents of reject file are --------------------------------------------------------------- --- interface/lib/classes/plugin_backuplist.inc.php (Revision 4136) +++ interface/lib/classes/plugin_backuplist.inc.php (Revision 4139) @@ -57,7 +57,12 @@ //* check if the user is owner of the parent domain $domain_backup = $app->db->queryOneRecord("SELECT parent_domain_id FROM web_backup WHERE backup_id = ".$backup_id); - if(!$app->tform->checkOwnerPermisssions($this->dataRecord["parent_domain_id"])){ + + $check_perm = 'u'; + if($_GET['backup_action'] == 'download') $check_perm = 'r'; // only check read permissions on download, not update permissions + + $get_domain = $app->db->queryOneRecord("SELECT domain_id FROM web_domain WHERE domain_id = ".$app->functions->intval($domain_backup["parent_domain_id"])." AND ".$app->tform->getAuthSQL($check_perm)); + if(empty($get_domain) || !$get_domain) { $app->error($app->tform->lng('no_domain_perm')); } ------------------------------------------------------------- Any ideas? Thanks
I'm getting the same error. I'm running ubuntu 12.04 on a Digital Ocean VPS Code: 1 out of 1 hunk FAILED -- saving rejects to file interface/lib/classes/plugin_backuplist.inc.php.rej
I've same problem on my servers.. ISPConfig running on two Ubuntu Server 12.04. Do I need to rename plugin_backuplist.inc.php.orig to plugin_backuplist.inc.php and chown it?