Bug 827581
Summary: | Firefox saves temporary downloads to /tmp | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nicholas Miell <nmiell> |
Component: | firefox | Assignee: | Martin Stransky <stransky> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cbm, gecko-bugs-nobody, lpoetter, mganisin, opensource, samuel-rhbugs, stransky |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-30 14:38:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 826015 |
Description
Nicholas Miell
2012-06-01 19:22:02 UTC
So what do you suggest here? I don't have a suggestion, this is just here so it can block bug 826015. Here's an explanation of the siuation: http://0pointer.de/blog/projects/tmp.html Based on the description in this bug this really appears to be something that should be in $XDG_CACHE_HOME. See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html for details. (In reply to comment #3) > Based on the description in this bug this really appears to be something > that should be in $XDG_CACHE_HOME. See > http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html for > details. What is supposed to make sure that old files are removed from there? (In reply to comment #4) > (In reply to comment #3) > > > Based on the description in this bug this really appears to be something > > that should be in $XDG_CACHE_HOME. See > > http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html for > > details. > > What is supposed to make sure that old files are removed from there? Nothing. Note that /tmp is not guaranteed to be cleaned up either. It is by default on Fedora, but it isn't for example on Debian. Hence either way upstream code shouldn't rely on external automatic clean-up. (In reply to comment #5) > Nothing. Note that /tmp is not guaranteed to be cleaned up either. It is by > default on Fedora, but it isn't for example on Debian. Hence either way > upstream code shouldn't rely on external automatic clean-up. But it is also not guaranteed for a upstream program to run regularly, therefore it cannot always clean up. For example I once started evolution by accident and now there is ~/.cache/evolution that is never going to be deleted as far as I can tell. And for /tmp it is at least recommended by the FHS to clean it up when the system is booted. So, gnome-settings-daemons actually does have a "housekeeping" plugin that will clean things up in the cache. If this is really an issue it can be trivially extended to clean up firefox' temporary downlodas (or in fact all of XDG cache). Firefox cleans up after itself already. This bug seems to have wrong component assigned. /tmp is system service. If it isn't able to fulfil requirements of users and/or applications then it is issue of os/distribution. *** This bug has been marked as a duplicate of bug 860814 *** |