Home » PEAR » PEAR » Bug #6144
'mkdir' in System.php doesn't honor installroot option
Details
| Submitted | 2005-12-04 16:22 UTC |
|---|---|
| From | tm at dev-zero dot ch |
| Status | Duplicate |
| Package | PEAR |
| PHP Version | 5.0.5 |
| OS | Gentoo Linux 2005.1 |
| Roadmaps | (Not assigned) |
Comments
[2005-12-04 16:22 UTC] tm at dev-zero dot ch
Description:
------------
When I try to install PEAR-1.4.5 on my Gentoo Linux, the installation aborts with a sandbox violation.
That means, that a process tried to write something outside the install root and the sandbox had to block it. In this case, a method in System.php tried to create a directory outside the installroot.
The problem has been detected in line 260 of System.php:
/****************************************/
ACCESS DENIED mkdir: /usr/share/php/.channels
Warning: mkdir(): Permission denied in System.php on line 260
could not create directory '/usr/share/php/.channels'
/****************************************/
Expected result:
----------------
A clean install...
Actual result:
--------------
The install script tries to write outside the installroot which leads to an abort of the installation.