Edit report at http://pear.php.net/bugs/bug.php?id=17195&edit=1
ID: 17195
Updated by: [email protected]
Reported By: pear dot php dot net at lucky-pc dot de
Summary: Pyrus: failed installation leaves inaccessible
directory
-Status: Open
+Status: Feedback
Type: Bug
Package: PEAR
Operating System: Windows XP
Package Version: Unknown
PHP Version: 5.1.3
Roadmap Versions:
New Comment:
-Status: Open
+Status: Feedback
Sorry, I can't reproduce this. Which package installation failed
mid-transaction? Do you have any more info?
Also, I'm assuming you meant PHP 5.3.1, as Pyrus is not compatible with
PHP 5.1.3.
Previous Comments:
------------------------------------------------------------------------
[2010-03-04 23:28:13] bill
Description:
------------
If the installation of a package fails the pyrus installer leaves a
directory named "old-php".
This directory is inaccessible for everyone, even for the
administrator. It can't be opened nor deleted.
When trying to install the next package one will get the following
error-messages:
PHP Warning:
rename(Drive:\my_pear_path\php,Drive:\my_pear_path\.old-php): Permission
denied in
phar://Drive:/path_to_pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/AtomicFileTransaction.php
on line 648
Warning: rename(Drive:\my_pear_path\php,Drive:\my_pear_path\.old-php):
Permission denied in
phar://Drive:/path_to_pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/AtomicFileTransaction.php
on line 648
pear2\Pyrus\AtomicFileTransaction\Exception: Cannot rollback - not in a
transaction
------------------------------------------------------------------------