Unzip fails to manage symlinked files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unzip (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
As shown in this thread: http://
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.
+++ unzip-6.0/process.c 2013-09-25 13:36:55.120183367 +0200
@@ -1758,6 +1758,12 @@
= (G.crec.
#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_
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: unzip 6.0-8ubuntu1
ProcVersionSign
Uname: Linux 3.8.13.6 x86_64
NonfreeKernelMo
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)
The attachment "Fixes symlink handling" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]