cvs: php-src /pear/PEAR Installer.php

From: Date: Wed, 17 Sep 2003 03:19:47 +0000
Subject: cvs: php-src /pear/PEAR Installer.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-12793@lists.php.net to get a copy of this message
cellog Tue Sep 16 23:19:47 2003 EDT Modified files: /php-src/pear/PEAR Installer.php Log: bug in chmod file transaction operation error message bug in chmod file transaction test - was testing the perms to see if they were a writable file Index: php-src/pear/PEAR/Installer.php diff -u php-src/pear/PEAR/Installer.php:1.124 php-src/pear/PEAR/Installer.php:1.125 --- php-src/pear/PEAR/Installer.php:1.124 Tue Sep 16 23:13:56 2003 +++ php-src/pear/PEAR/Installer.php Tue Sep 16 23:19:47 2003 @@ -18,7 +18,7 @@ // | Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Installer.php,v 1.124 2003/09/17 03:13:56 cellog Exp $ +// $Id: Installer.php,v 1.125 2003/09/17 03:19:47 cellog Exp $ require_once 'PEAR/Common.php'; require_once 'PEAR/Registry.php'; @@ -406,8 +406,8 @@ break; case 'chmod': // check that file is writable - if (!is_writable($data[1])) { - $errors[] = "permission denied ($type): $data[1]"; + if (!is_writable($data[0])) { + $errors[] = "permission denied ($type): $data[0] $data[1]"; } break; case 'delete':

« previous php.pear.cvs (#12793) next »