Bug 259494 - Make it possible to preview symlinks with the libarchive plugin
Summary: Make it possible to preview symlinks with the libarchive plugin
Status: CONFIRMED
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
: 261977 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-11 04:34 UTC by Aaron Lewis
Modified: 2016-03-10 10:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Test archive (216 bytes, application/x-bzip)
2010-12-12 05:09 UTC, Aaron Lewis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Lewis 2010-12-11 04:34:14 UTC
Version:           unspecified (using KDE 4.5.4) 
OS:                Linux

I'm experiencing a unpleased problem , if a previewed file is a link , it could not previewed.

Ark should check the soft link of that file , and extract it together ( could ask user , but shouldn't be necessary ).

I.e , i got a directory structure like this :
root/doc/README
root/doc/app.1
root/README -> link to README

previewing README directly won't success , and user has no idea what kind of file it is before extracting everything.

Read that link if it's not an absolute path , and there should be some sanity checks , it's all yours , i'm just putting ideas.

Latest KDE 4.5.4 compiled on Gentoo , no such functions provided yet i guess ;-)

Reproducible: Always
Comment 1 Raphael Kubo da Costa 2010-12-11 21:06:05 UTC
What archive formats did you test?
Comment 2 Aaron Lewis 2010-12-12 05:09:57 UTC
Created attachment 54444 [details]
Test archive

%> mkdir -p testdir/doc
%> echo "Bonjour a Tous" > testdir/doc/aaron.1
%> ln -s testdir/doc/aaron.1 testdir/aaron.1
%> tar cjpvf test.tar.bz2 testdir && ark test.tar.bz2
Comment 3 Aaron Lewis 2010-12-12 05:10:56 UTC
Previewing directly aaron.1 would fail but doc/aaron.1.
Comment 4 Raphael Kubo da Costa 2011-08-23 21:22:21 UTC
*** Bug 261977 has been marked as a duplicate of this bug. ***