public inbox for bzip2-devel@sourceware.org
 help / color / mirror / Atom feed
* [Bug bzip2/25719] New: uncompress with soft and hard links
@ 2020-03-24 15:15 guillaume.audirac at gmail dot com
  0 siblings, 0 replies; only message in thread
From: guillaume.audirac at gmail dot com @ 2020-03-24 15:15 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25719

            Bug ID: 25719
           Summary: uncompress with soft and hard links
           Product: bzip2
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bzip2
          Assignee: nobody at sourceware dot org
          Reporter: guillaume.audirac at gmail dot com
                CC: bzip2-devel at sourceware dot org
  Target Milestone: ---

Hi,

I've got issues with bzip2 when using symbolic and hard links (quite useful for
Yocto generated images).
I'm using Linux Mint 19.3 and bzip2 version 1.0.6 (6-sept-2010). I know the
latest release is 1.0.8 but I could not find any related info in git log
history.

# I have a bz2 file and soft and hard links to it.
$ ln -s my_file.bz2 my_softlink
$ ln my_file.bz2 my_hardlink

# Then I try to uncompress it through the symbolic link
$ bzip2 -d my_softlink
bzip2: Input file my_softlink is not a normal file.

# Now I try to uncompress it using the hard link
$ bzip2 -d my_hardlink
bzip2: Can't guess original name for my_hardlink -- using my_hardlink.out
bzip2: Input file my_hardlink has 1 other link.

For the 2 cases, using the -k option does not help.
For soft links, it would be nice to allow to follow the symlink with another
option, while keeping the input file ('-k').
For hard links, I assume it should work with '-k' when uncompressing.

Regards.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-24 15:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-24 15:15 [Bug bzip2/25719] New: uncompress with soft and hard links guillaume.audirac at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).