Previewed files are not deleted

Bug #1444210 reported by Misaki
This bug affects 1 person
Affects Status Importance Assigned to Milestone
File Roller
file-roller (Ubuntu)

Bug Description

It seems like this could be related to Bug #137308, where a user complained that previewed files were being deleted.

file-roller, also known as Archive Manager, doesn't delete files that are previewed without extracting them to a known location first. These previews are stored in ~/.cache/.fr-<random string>.

I believe the /tmp directory is cleared each time the system is restarted, but maybe the preview files aren't stored there for security reasons.

eog seems to not store references to a file maybe by design; sometimes when you change a file on disk, eog will reload the file, but it doesn't always do so. So maybe can't rely on other applications that have the file 'open' to actually have a reference to the index node or whatever, and users will expect the preview not to be deleted immediately.

Currently, it seems like some, and maybe all preview files are retained indefinitely, unless manually deleted. If a file is previewed more than once, multiple copies are created. Over time this can add up to a considerable amount of disk space.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: file-roller
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 14 17:05:57 2015
SourcePackage: file-roller
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Misaki (myjunkmail311006) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, that seems known upstream

file-roller is supposed to clean behind when closing but I guess there are case where it hits bugs and that's not done...

Changed in file-roller (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in file-roller:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Alan Baghumian (alanbach) wrote :

I just tested this with Bionic and it seems to be fixed. Previewed files ~/.cache/.fr-<random string> no longer exist after closing file-roller.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.