Red Hat Bugzilla – Bug 87473
tmpwatch doesn't delete hidden .dotfiles
Last modified: 2007-04-18 12:52:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2; MultiZilla v1.1.32
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):
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
Any chances for a fix?
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.
I can't access this socket bug report. Why?
See bug 114969 for the summary.