[PEAR-BUG] Bug #21058 [Com]: Long symlinks are not supported
[email protected] ("mpp") Wed, 26 Dec 2018 07:01:10 -0500 (EST)
| Newsgroups | php.pear.bugs |
|---|---|
| Message-ID | <[email protected]> |
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 ‘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 Previous Comments: ------------------------------------------------------------------------ [2018-12-20 15:27:29] mrook <div id="changeset"> <span class="removed">-Status: Open</span> <span class="added">+Status: Closed</span> <span class="removed">-Assigned To:</span> <span class="added">+Assigned To: mrook</span> <span class="removed">-Roadmap Versions:</span> <span class="added">+Roadmap Versions: 1.4.4</span> </div>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