Bug #15244 [Asn->Csd]: symlinked files are not exluded

From: Date: Sun, 22 Mar 2009 23:10:08 +0000
Subject: Bug #15244 [Asn->Csd]: symlinked files are not exluded
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-230@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 +Status: Closed Type: Bug Package: PEAR_PackageFileManager_Plugins PHP Version: 5.2.7 Assigned To: dufuz -Roadmap Versions: 1.7.0 +Roadmap Versions: New Comment: -Status: Assigned +Status: Closed -Roadmap Versions: 1.7.0 +Roadmap Versions: This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2009-03-22 16:50:50] dufuz -Package: PEAR_PackageFileManager +Package: PEAR_PackageFileManager_Plugins ------------------------------------------------------------------------ [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

« previous php.pear.bugs (#230) next »