GNU bug report logs - #25220
tar-untar-buffer doesn't support symlinks

Previous Next

Package: emacs;

Reported by: npostavs <at> users.sourceforge.net

Date: Sun, 18 Dec 2016 00:26:01 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25220 in the body.
You can then email your comments to 25220 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#25220; Package emacs. (Sun, 18 Dec 2016 00:26:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to npostavs <at> users.sourceforge.net:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 18 Dec 2016 00:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: bug-gnu-emacs <at> gnu.org
Subject: tar-untar-buffer doesn't support symlinks
Date: Sat, 17 Dec 2016 19:25:47 -0500
[Message part 1 (text/plain, inline)]
Severity: wishlist

tar-untar-buffer silently converts symlinks into regular files.  There
might be some portability trouble with supporting them, but at least we
should warn about low fidelity unpacking, as in the patch below.

This initially turned up as a yasnippet bug, because the package's
tarball was using symlinks.  Of course that has to be fixed by avoiding
symlinks (https://github.com/joaotavora/yasnippet/issues/748).

[0001-Warn-about-incomplete-untarring-of-link-files.patch (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25220; Package emacs. (Sat, 27 Jul 2019 11:12:03 GMT) Full text and rfc822 format available.

Message #8 received at 25220 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: npostavs <at> users.sourceforge.net
Cc: 25220 <at> debbugs.gnu.org
Subject: Re: bug#25220: tar-untar-buffer doesn't support symlinks
Date: Sat, 27 Jul 2019 13:11:27 +0200
npostavs <at> users.sourceforge.net writes:

> Severity: wishlist
>
> tar-untar-buffer silently converts symlinks into regular files.  There
> might be some portability trouble with supporting them, but at least we
> should warn about low fidelity unpacking, as in the patch below.
>
> This initially turned up as a yasnippet bug, because the package's
> tarball was using symlinks.  Of course that has to be fixed by avoiding
> symlinks (https://github.com/joaotavora/yasnippet/issues/748).

It looks like this patch was applied at the time, but the bug report
wasn't closed, so I'm doing that now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 25220 <at> debbugs.gnu.org and npostavs <at> users.sourceforge.net Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 27 Jul 2019 11:12:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 24 Aug 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.