Article View: php.pear.bugs
Article #1[PEAR-BUG] Bug #21058 [Com]: Long symlinks are not supported
From: "mpp"
Date: Wed, 26 Dec 2018 12:01
Date: Wed, 26 Dec 2018 12:01
77 lines
4188 bytes
4188 bytes
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
Technical Details
Message-ID:
<20181226120110.D59901380211@pear.php.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!news.php.netReferences:
<bug-21058@pear.php.net>Show Full Headers
Complete Article Headers
Message-ID: <20181226120110.D59901380211@pear.php.net>
Subject: [PEAR-BUG] Bug #21058 [Com]: Long symlinks are not supported
Date: Wed, 26 Dec 2018 12:01:10 +0000
From: tentje@gmail.com ("mpp")
References: <bug-21058@pear.php.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!news.php.net
Newsgroups: php.pear.bugs
Return-Path: <bounce-no-user@php.net>
Delivered-To: mailing list pear-bugs@lists.php.net
Received: (qmail 24711 invoked from network); 26 Dec 2018 15:22:17 -0000
Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12)
Received: from php-smtp3.php.net (php-smtp3.php.net [208.43.231.12])
by php-smtp3.php.net (Postfix) with ESMTP id B8B3E2D2034
Received: from php-smtp3.php.net (localhost [127.0.0.1])
by php-smtp3.php.net (Postfix) with ESMTP id 6EAD32D1FD5;
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on php-smtp3.php.net
X-Spam-Status: No, score=0.7 required=5.0 tests=ALL_TRUSTED,BAYES_50,
DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,
PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.1
X-Spam-Virus: No
Received: from pear.php.net (unknown [109.203.101.62])
by php-smtp3.php.net (Postfix) with ESMTP;
Received: by pear.php.net (Postfix, from userid 48)
To: <mrook@php.net>, <mrook@php.net>, <pear-bugs@lists.php.net>
X-PHP-Originating-Script: 0:pear-bug-accountrequest.php
X-PHP-Bug: 21058
X-PHP-Type: Bug
X-PHP-PackageVersion: 1.4.2
X-PHP-Version: Irrelevant
X-PHP-Category: Archive_Tar
X-PHP-OS: Linux
X-PHP-Status: Closed
In-Reply-To: <bug-21058@pear.php.net>
X-Envelope-From: <bounce-no-user@php.net>