← Back to team overview

desktop-packages team mailing list archive

[Bug 1444210] [NEW] Previewed files are not deleted

 

Public bug reported:

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 3.10.2.1-0ubuntu5
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)

** Affects: file-roller (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to file-roller in Ubuntu.
https://bugs.launchpad.net/bugs/1444210

Title:
  Previewed files are not deleted

Status in file-roller package in Ubuntu:
  New

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 3.10.2.1-0ubuntu5
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/1444210/+subscriptions


Follow ups

References