Bug 344460 - Can't enter into iso images if the path contains relatively symlinked dirs
Summary: Can't enter into iso images if the path contains relatively symlinked dirs
Status: CONFIRMED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.7.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL: http://i.imgur.com/V1aNYEw.png
Keywords: reproducible, triaged
Depends on:
Blocks:
 
Reported: 2015-02-22 21:07 UTC by Pyroman
Modified: 2019-07-13 19:57 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KrDebug (651 bytes, text/plain)
2019-07-13 19:57 UTC, Davide Gianforte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pyroman 2015-02-22 21:07:49 UTC
Can't enter into iso images if path contains symlinked direcories. Showing an error "file or folder does not exist".

Maybe kio_iso bug. See also old discussion at https://groups.google.com/forum/#!topic/krusader-devel/OnrMQzFPgPQ

Same file opens fine if path does't contain any symlink.

Reproducible: Always
Comment 1 Davide Gianforte 2016-01-10 12:35:30 UTC
Can't reproduce this problem. I did:

$ cd
$ ln -s ~/laptop/software/cd isos

where ~/laptop is a nfs/sshfs mount to my ~ on the laptop; I can browse sanely any iso.

Can you confirm you are using the git version of krusader? There are still no packages for krusader git version in kubuntu. I tested with 2.4.0b3 version too and it works fine.
Comment 2 Pyroman 2016-01-11 19:01:19 UTC
(In reply to Davide Gianforte from comment #1)
> Can't reproduce this problem. I did:
> 
> $ cd
> $ ln -s ~/laptop/software/cd isos
> 
> where ~/laptop is a nfs/sshfs mount to my ~ on the laptop; I can browse
> sanely any iso.
> 
> Can you confirm you are using the git version of krusader? There are still
> no packages for krusader git version in kubuntu. I tested with 2.4.0b3
> version too and it works fine.

Yes, I compiled it to /opt/krusader directory and launch it from there. Can't test the latest version of Krusader because I still use KDE 4 (it requires Plasma 5 now).

I just found out that this bug affects relative symlinks only. Links with full path have no problem.
Comment 3 Pyroman 2016-05-29 15:01:17 UTC
Found out that this bug affects relative symlinks only. Links with full path have no problem.
Comment 4 Davide Gianforte 2016-05-30 05:44:18 UTC
Confirmed using

cd work
ln -s ../software/iso isos

files inside work/isos can't be browsed
Comment 5 Theo 2018-05-24 21:01:51 UTC
Can confirm under Plasma 5 for kio_iso 2.6.0-2.1 from openSUSE Tumbleweed. Absolute symlinks work, relative don't.
Comment 6 Nikita Melnichenko 2018-05-26 05:48:47 UTC
Confirmed on v2.7.0.
Comment 7 Davide Gianforte 2019-07-13 19:57:04 UTC
Created attachment 121506 [details]
KrDebug

Using the integrated debugger, I found that the plugin is called without the filename when the symlink is relative ("iso"), the filename is complete when the symlink is absolute ("iso2").

This require some KIO investigation.