Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 87473

Summary: tmpwatch doesn't delete hidden .dotfiles
Product: [Retired] Red Hat Linux Reporter: Boris Folgmann <boris>
Component: tmpwatchAssignee: Miloslav Trmač <mitr>
Status: CLOSED WORKSFORME QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-13 20:43:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Boris Folgmann 2003-03-27 11:59:46 UTC
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):
tmpwatch-2.8.4-3

How reproducible:
Always

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 14:13:35 UTC
Any chances for a fix?


Comment 2 Miloslav Trmač 2004-08-13 20:43:10 UTC
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 15:07:55 UTC
I can't access this socket bug report. Why?


Comment 4 Miloslav Trmač 2004-08-14 20:43:05 UTC
See bug 114969 for the summary.