sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 15767] New: sorcery/modules/linunpack: real_guess_compressor() cannot deal with symlinks
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 15767] New: sorcery/modules/linunpack: real_guess_compressor() cannot deal with symlinks
- Date: 17 Jul 2010 07:01:08 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=15767
Summary: sorcery/modules/linunpack: real_guess_compressor()
cannot deal with symlinks
Product: Sorcery
Version: 1.14.x
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: kirikaza AT rambler.ru
Created an attachment (id=7484)
--> (http://bugs.sourcemage.org/attachment.cgi?id=7484)
Patch for libunpack to support symlinks in real_guess_compressor()
If `/var/spool/sorcery/SPELL.tar.bz2' is a symbolic link
real_guess_compressor() cannot guess real compressor because `file -b
SPELL.tar.bz2' returns `symbolic link to ...' instead of `bzip2 compressed
...'. To solve the problem you can add option `-L' for file: `file -L -b
SPELL.tar.bz2' returns `bzip2 compressed ...' as expected.
I attached the patch for sorcery/modules/libunpack.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
-
[SM-Sorcery-Bugs] [Bug 15767] New: sorcery/modules/linunpack: real_guess_compressor() cannot deal with symlinks,
bugzilla-daemon, 07/17/2010
- [SM-Sorcery-Bugs] [Bug 15767] sorcery/modules/linunpack: real_guess_compressor() cannot deal with symlinks, bugzilla-daemon, 07/18/2010
- [SM-Sorcery-Bugs] [Bug 15767] sorcery/modules/linunpack: real_guess_compressor() cannot deal with symlinks, bugzilla-daemon, 07/18/2010
- [SM-Sorcery-Bugs] [Bug 15767] sorcery/modules/libunpack: real_guess_compressor() cannot deal with symlinks, bugzilla-daemon, 07/25/2010
Archive powered by MHonArc 2.6.24.