** Description changed: - Steps to reproduce: + 1) lsb_release -rd + Description: Ubuntu Vivid Vervet (development branch) + Release: 15.04 - 1. Open a tarball with file-roller - 2. Open a file within the archive without explicitly extracting it. (Such as by double clicking the file) - 3. Notice that the file is extracted to a directory ~/.fr-* - 4. Close file-roller. If you used file-roller's GUI to exit, the temporary file(s) and directory are deleted. However, if you kill it via SIGTERM or logout without exiting file-roller (I presume that sends either SIGTERM or SIGHUP), the temp files are left behind. + 2) apt-cache policy file-roller + file-roller: + Installed: 3.12.2-0ubuntu1 + Candidate: 3.12.2-0ubuntu1 + Version table: + *** 3.12.2-0ubuntu1 0 + 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages + 100 /var/lib/dpkg/status - There are two problems with this: + 3) What is expected to happen is when one opens a tarball with file- + roller, and without extracting the file, open it (ex. open PDF file with + evince) the file-roller utilizes /tmp for this. - 1. file-roller should clean up its temp files on exit, regardless of the exit method (with the obvious exception of SIGKILL, which can't be trapped). - 2. The proper place for temporary files is /tmp. Dotfiles in $HOME are for program settings and the like. In the event that file-roller doesn't clean up its temp files, they just pollute $HOME and waste disk space. However, /tmp is cleaned on boot (or is it in shutdown?), so pollution and wasted disk space is minimized. + 4) What happens instead is file-roller utilizes a directory ~/.cache/.fr-* , where * is a changing folder name. If one logs out, or kills the file-roller process via: + kill PID + + the temp files are left behind.
-- 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/245716 Title: file-roller puts temporary files in the home dir instead of /tmp Status in File Roller: New Status in file-roller package in Ubuntu: Triaged Bug description: 1) lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 2) apt-cache policy file-roller file-roller: Installed: 3.12.2-0ubuntu1 Candidate: 3.12.2-0ubuntu1 Version table: *** 3.12.2-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen is when one opens a tarball with file- roller, and without extracting the file, open it (ex. open PDF file with evince) the file-roller utilizes /tmp for this. 4) What happens instead is file-roller utilizes a directory ~/.cache/.fr-* , where * is a changing folder name. If one logs out, or kills the file-roller process via: kill PID the temp files are left behind. To manage notifications about this bug go to: https://bugs.launchpad.net/file-roller/+bug/245716/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp