Bug 380853 - Opening file from within .zip creates two directories in /~
Summary: Opening file from within .zip creates two directories in /~
Status: RESOLVED NOT A BUG
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-05 04:49 UTC by lnxusr
Modified: 2018-05-06 00:15 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lnxusr 2017-06-05 04:49:38 UTC
When a document is viewed or opened from within a .zip file, two directories are created in the home directory.  One called 'f' and another called 'file:'.  The one called 'file:' consists of the following tree:

file:/home/<username>/tmp/krusader.tmp/<timestamped directory beginning with 'krArc'

both f and the end of the file: tree contain a single hidden file each called .directory which contains:

[Dolphin]
Timestamp=2017,6,4,23,36,30
Version=3

[Settings]
HiddenFilesShown=true

The timestamp matches the time the file was open.

These directories should be in the /tmp, or ~/tmp, if it exists, not cluttering up the home directory.
Comment 1 Toni Asensi Esteve 2017-06-05 09:34:27 UTC
I tried it and it didn't happen using Kubuntu 17.04 and the git version of Krusader. Can you try using the git version of Krusader? There are instructions in https://cgit.kde.org/krusader.git/plain/INSTALL
Comment 2 Alex Bikadorov 2017-06-05 16:59:03 UTC
Settings->Configure Krusader->General->"Temp Folder:" is used. What have you set here?
Comment 3 lnxusr 2017-06-05 18:36:13 UTC
(In reply to Alex Bikadorov from comment #2)
> Settings->Configure Krusader->General->"Temp Folder:" is used. What have you
> set here?

This seems to have been the problem Alex.  I had the temp folder set to /home/bjwest/tmp/krusader.tmp, but there was no krusader.tmp.  I changed it to krusader-tmp and it created it when I opened the .zip file.

Is this a possible bug on it's own, or does Linux or KDE not like directories with extentions?
Comment 4 Alex Bikadorov 2017-06-11 19:34:18 UTC
The default setting is "/tmp/krusader.tmp" so the dot is not the problem. In fact this works fine on my system.

Maybe some invalid/old setting was not applied - hard to say. But if everything works now, I close this. There are ~140 other bug reports to investigate .)