Bug #15244 [Asn]: symlinked files are not exluded
| From: | helgith at gmail dot com | Date: | Sun, 22 Mar 2009 16:50:50 +0000 |
| Subject: | Bug #15244 [Asn]: symlinked files are not exluded | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-220@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=15244&edit=1
ID: 15244
Updated by: helgith@gmail.com
Reported By: cweiske at php dot net
Summary: symlinked files are not exluded
Status: Assigned
Type: Bug
-Package: PEAR_PackageFileManager
+Package: PEAR_PackageFileManager_Plugins
Package Version: 1.6.3
PHP Version: 5.2.7
Assigned To: dufuz
Roadmap Versions:
New Comment:
-Package: PEAR_PackageFileManager
+Package: PEAR_PackageFileManager_Plugins
Previous Comments:
------------------------------------------------------------------------
[2008-12-05 04:07:50] cweiske
Description:
------------
If you exclude a file that's a symlink, it does not get excluded -
because realpath() is used on the file names, resolving the symlink.
It works when removing the first realpath call in
> function _checkIgnore(..)
in
> PEAR/PackageFileManager/File.php
http://phing.info/trac/ticket/318
Test script:
---------------
1. create two files
2. create a symlink to one of those files
3. ignore the symlinked file
4. pear_packagefilemanager will not ignore the file
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=15244&edit=1