Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.4

Bug #15244 symlinked files are not exluded
Submitted: 2008-12-05 09:07 UTC
From: cweiske Assigned: dufuz
Status: Closed Package: PEAR_PackageFileManager_Plugins
PHP Version: 5.2.7 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 + 19 = ?

 
 [2008-12-05 09:07 UTC] cweiske (Christian Weiske)
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

Comments

 [2009-03-22 20:50 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Package: PEAR_PackageFileManager +Package: PEAR_PackageFileManager_Plugins
 [2009-03-23 03:10 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-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.