Bug 87473 - tmpwatch doesn't delete hidden .dotfiles
tmpwatch doesn't delete hidden .dotfiles
Product: Red Hat Linux
Classification: Retired
Component: tmpwatch (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-03-27 06:59 EST by Boris Folgmann
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-13 16:43:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Boris Folgmann 2003-03-27 06:59:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2; MultiZilla v1.1.32
final) Gecko/20030313

Description of problem:
I've got a lot of very old files like .famZaq7p3 lying around in my /tmp because
tmpwatch seems not to clean any hidden file that begins with a dot.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. generate an "old" hidden dotfile in /tmp
2. run tmpwatch on /tmp

Actual Results:  dotfiles still present in /tmp
tmpwatch -t shows that they are not scanned

Expected Results:  delete really all old files

Additional info:
Comment 1 Boris Folgmann 2003-06-05 10:13:35 EDT
Any chances for a fix?
Comment 2 Miloslav Trmač 2004-08-13 16:43:10 EDT
Works for me with tmpwatch-2.9.0-2.1:

$ mkdir z
$ touch -a -d '2 hours ago' z/.dotfile
$ /usr/sbin/tmpwatch -vvv 1 z
grace period is 3600
cleaning up directory z
found directory entry .dotfile
taking as significant time: Fri Aug 13 20:41:45 2004
removing file z/.dotfile

If the file in question is a socket (which it is), this would be a
duplicate of bug 66148.
Comment 3 Boris Folgmann 2004-08-14 11:07:55 EDT
I can't access this socket bug report. Why?
Comment 4 Miloslav Trmač 2004-08-14 16:43:05 EDT
See bug 114969 for the summary.

Note You need to log in before you can comment on or make changes to this bug.