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

Bug #11769 Incorrect symlink handing
Submitted: 2007-08-06 12:29 UTC
From: fajar99 Assigned: fajar99
Status: Closed Package: Archive_Tar (version 1.3.2)
PHP Version: 5.2.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


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 : 24 - 12 = ?

 
 [2007-08-06 12:29 UTC] fajar99 (Fajar A. Nugraha)
Description: ------------ This patch fixes several symlink-related problems : - on archive creation, symlinks were stored as files/directories they point to - on acrhive extraction, symlink extraction failed if the file/symlink already exists. Test script: --------------- How to reproduce bug : - create tar file with one or more symlink on it - extract a tar file containing symlink twice (to create file/symlink already exists condition) Expected result: ---------------- Symlinks correectly added and extracted Actual result: -------------- - on archive creation, symlinks were stored as files/directories they point to - on acrhive extraction, symlink extraction failed if the file/symlink already exists.

Comments

 [2007-08-18 23:03 UTC] cellog (Greg Beaver)
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.