Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 15767] New: sorcery/modules/linunpack: real_guess_compressor() cannot deal with symlinks

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • 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.




Archive powered by MHonArc 2.6.24.

Top of Page