tmpreaper - cleans up files in directories based on their age

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Updates Universe i386
Package filename tmpreaper_1.6.13+nmu1+deb9u1build0.16.04.1_i386.deb
Package name tmpreaper
Package version 1.6.13+nmu1+deb9u1build0.16.04.1
Package release -
Package architecture i386
Package type deb
Category universe/admin
Homepage -
License -
Maintainer Ubuntu Developers <>
Download size 41.48 KB
Installed size 113.00 KB
This package provides a program that can be used to clean out temporary-file
directories.  It recursively searches the directory, refusing to chdir()
across symlinks, and removes files that haven't been accessed in a
user-specified amount of time.  You can specify a set of files to protect
from deletion with a shell pattern.  It will not remove files owned by the
process EUID that have the `w' bit clear, unless you ask it to, much like
`rm -f'.  `tmpreaper' will not remove symlinks, sockets, fifos, or special
files unless given a command line option enabling it to.
WARNING:  Please do not run `tmpreaper' on `/'.  There are no protections
against this written into the program, as that would prevent it from
functioning the way you'd expect it to in a `chroot(8)' environment.
The daily tmpreaper run can be configured through /etc/tmpreaper.conf .


Package Version Architecture Repository
tmpreaper_1.6.13+nmu1+deb9u1build0.16.04.1_amd64.deb 1.6.13+nmu1+deb9u1build0.16.04.1 amd64 Ubuntu Updates Universe
tmpreaper_1.6.13+nmu1_i386.deb 1.6.13+nmu1 i386 Ubuntu Universe
tmpreaper_1.6.13+nmu1_amd64.deb 1.6.13+nmu1 amd64 Ubuntu Universe
tmpreaper - - -


Name Value
debconf >= 0.5.0
debconf-2.0 -
libc6 >= 2.4
libmount1 >= 2.24.2


Name Value
tmpwatch -


Name Value
tmpwatch -


Type URL
Binary Package tmpreaper_1.6.13+nmu1+deb9u1build0.16.04.1_i386.deb
Source Package tmpreaper

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install tmpreaper deb package:
    # sudo apt-get install tmpreaper


2019-07-24 - Eduardo Barretto <>
tmpreaper (1.6.13+nmu1+deb9u1build0.16.04.1) xenial-security; urgency=medium
* SECURITY UPDATE: Sync from Debian
- fixes CVE-2019-3461.
2019-01-05 - Paul Slootman <>
tmpreaper (1.6.13+nmu1+deb9u1) stretch-security; urgency=high
* Non-maintainer upload by the Security Team.
* There was a race condition when tmpreaper was testing for a (bind) mount,
which was done via rename() which could potentially lead to a file being
placed elsewhere on the filesystem hierarchy (e.g. /etc/cron.d/) if the
directory being cleaned up was on the same physical filesystem.
This has been fixed by using an alternative way of looking for bind mounts
using code from mountpoint (from the util-linux package).
2010-08-04 - Christian Perrier <>
tmpreaper (1.6.13+nmu1) unstable; urgency=low
* Non-maintainer upload.
* Fix pending l10n issues. Debconf translations:
- Danish (Joe Hansen).  Closes: #581718
2009-09-17 - Paul Slootman <>
tmpreaper (1.6.13) unstable; urgency=low
* debconf config script could exit with status 30.
2009-09-17 - Paul Slootman <>
tmpreaper (1.6.12) unstable; urgency=low
* Ignore any \+.*$ component in the version number when checking for the
correct version number in, to allow for NMUs.
* Updated the tmpreaper.conf manpage to document TMPREAPER_DELAY and
* Added Swedish debconf translation from Martin Bagge.
* Added Japanese debconf translation from Hideki Yamane.
* Added Italian debconf translation from Luca Monducci.
* Updated Standards-Version to (no further change necessary).
* Bumped debhelper compat level to 5.
2008-10-06 - Paul Slootman <>
tmpreaper (1.6.11) unstable; urgency=low
* Really allow --runtime=0 as described in the manpage (previously a minimum
of 5 was enforced).
2008-05-22 - Paul Slootman <>
tmpreaper (1.6.10) unstable; urgency=low
* Updated Czech debconf translation from Miroslav Kure.
* Updated French debconf translation from Michel Grentzinger.
* Added Galician debconf translation from Jacobo Tarrio.
* Added Basque debconf translation from Piarres Beobide.
* Added Russian debconf translation from Yuri Kozlov.
* Handle "infinity" in /etc/default/rcS for TMPTIME.
* Properly update the version output from "tmpreaper -h".
* Updated Standards-Version to
2007-08-21 - Paul Slootman <>
tmpreaper (1.6.9) unstable; urgency=low
* Updated Spanish Debconf translation from Javier Fernández-Sanguino Peña.
* Moving the shell code to the cron.daily script introduced an annoying but
harmless bug (tmpreaper doesn't run). Fixed that.
* Updated policy version.

See Also

Package Description
tnef_1.4.9-1+deb8u3build0.16.04.1_i386.deb Tool to unpack MIME application/ms-tnef attachments
tomcat7-admin_7.0.68-1ubuntu0.4_all.deb Servlet and JSP engine -- admin web applications
tomcat7-common_7.0.68-1ubuntu0.4_all.deb Servlet and JSP engine -- common files
tomcat7-docs_7.0.68-1ubuntu0.4_all.deb Servlet and JSP engine -- documentation
tomcat7-examples_7.0.68-1ubuntu0.4_all.deb Servlet and JSP engine -- example web applications
tomcat7-user_7.0.68-1ubuntu0.4_all.deb Servlet and JSP engine -- tools to create user instances
tomcat7_7.0.68-1ubuntu0.4_all.deb Servlet and JSP engine
tomcat8-user_8.0.32-1ubuntu1.11_all.deb Apache Tomcat 8 - Servlet and JSP engine -- tools to create user instances
tor-geoipdb_0.2.9.14-1ubuntu1~16.04.3_all.deb GeoIP database for Tor
tor_0.2.9.14-1ubuntu1~16.04.3_i386.deb anonymizing overlay network for TCP
tracker-extract_1.6.2-0ubuntu1.1_i386.deb metadata database, indexer and search tool - metadata extractors
tracker-gui_1.6.2-0ubuntu1.1_i386.deb metadata database, indexer and search tool - GNOME frontends
tracker-miner-fs_1.6.2-0ubuntu1.1_i386.deb metadata database, indexer and search tool - filesystem indexer
tracker_1.6.2-0ubuntu1.1_i386.deb metadata database, indexer and search tool
transmission_2.84-3ubuntu3.1_all.deb lightweight BitTorrent client