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

Bug #23788 Relative symlinks are broken
Submitted: 2018-12-26 12:14 UTC
From: mpp Assigned: mrook
Status: Closed Package: Archive_Tar (version 1.4.4)
PHP Version: Irrelevant OS: Linux
Roadmaps: 1.4.5    
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 : 45 - 38 = ?

 
 [2018-12-26 12:14 UTC] mpp (Mp Parsley)
Description: ------------ #23769 caused a bug with relative symlinks.

Comments

 [2018-12-26 12:15 UTC] mpp (Mp Parsley)
This update broke the symlinks in our tar files: chmod: cannot operate on dangling symlink ‘vendor/bin/robo’ Before 1.4.4 we had correct symlinks: ls -la vendor/bin/robo lrwxrwxrwx 1 web web 26 Dec 21 16:14 vendor/bin/robo -> ../consolidation/robo/robo After 1.4.4 we had broken symlinks: ls -la vendor/bin/robo lrwxrwxrwx 1 web web 26 Dec 21 16:14 vendor/bin/robo -> consolidation/robo/robo
 [2018-12-26 12:25 UTC] mpp (Mp Parsley)
The fix in #23769 also performs a path reduction to the link but this will break any relative link (e.g. '../link').
 [2018-12-27 08:27 UTC] mrook (Michiel Rook)
-Status: Open +Status: Closed -Assigned To: +Assigned To: mrook -Roadmap Versions: +Roadmap Versions: 1.4.5
This bug has been fixed in SVN. 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.