From:  tentje@gmail.com ("mpp")
Date:  26 Dec 2018 20:01:10 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #21058 [Com]: Long symlinks are not supported

NNTP-Posting-Host:  null

Edit report at http://pear.php.net/bugs/bug.php?id=21058&edit=1

 ID:               21058
 Comment by:       mpp
 Reported By:      tentje at gmail dot com
 Summary:          Long symlinks are not supported
 Status:           Closed
 Type:             Bug
 Package:          Archive_Tar
 Operating System: Linux
 Package Version:  1.4.2
 PHP Version:      Irrelevant
 Assigned To:      mrook
 New Comment:

This update broke the symlinks in our tar files:
chmod: cannot operate on dangling symlink �繥endor/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


Previous Comments:
------------------------------------------------------------------------

[2018-12-20 15:27:29] mrook

-Status: Open +Status: Closed -Assigned To: +Assigned To: mrook -Roadmap Versions: +Roadmap Versions: 1.4.4
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. Sorry this took so long, but I've been finally been able to spend some time on this issue. Will appear in the next release! ------------------------------------------------------------------------ [2016-04-28 04:18:05] pbeernink Description: ------------ When you create a tar including symlinks which point to a location over 100 characters long, the link location is truncated to 100 chars. It looks like this is cased because the writeLongHeader() is only called if the filename itself is longer that 99 chars, not taking into account the location the link points to. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=21058&edit=1