[Bug 1230233] Re: Unzip fails to manage symlinked files
Launchpad Bug Tracker
1230233 at bugs.launchpad.net
Mon Jul 31 04:17:22 UTC 2023
[Expired for unzip (Ubuntu) because there has been no activity for 60
days.]
** Changed in: unzip (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unzip in Ubuntu.
https://bugs.launchpad.net/bugs/1230233
Title:
Unzip fails to manage symlinked files
Status in unzip package in Ubuntu:
Expired
Bug description:
As shown in this thread: http://git.661346.n2.nabble.com/quot-git-archive-quot-seems-to-be-broken-wrt-zip-files-td6780039.html
unzip fails to manage zip archive containing symlinks. The following patch solves this issue (tested on the same environment where the bug triggers)
Os: XUbunutu 13.10
Index: unzip-6.0/process.c
===================================================================
--- unzip-6.0.orig/process.c 2013-09-25 13:33:27.000000000 +0200
+++ unzip-6.0/process.c 2013-09-25 13:36:55.120183367 +0200
@@ -1758,6 +1758,12 @@
= (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11);
#endif
+#ifdef SYMLINKS
+ /* Initialize the symlink flag, may be set by the platform-specific
+ mapattr function. */
+ G.pInfo->symlink = 0;
+#endif
+
return PK_COOL;
} /* end function process_cdir_file_hdr() */
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: unzip 6.0-8ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-30.44-generic 3.8.13.6
Uname: Linux 3.8.13.6 x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Wed Sep 25 13:46:39 2013
InstallationDate: Installed on 2013-02-05 (231 days ago)
InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
MarkForUpload: True
SourcePackage: unzip
UpgradeStatus: Upgraded to raring on 2013-04-30 (147 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/1230233/+subscriptions
More information about the foundations-bugs
mailing list