Bug 14930

Summary: tmpwatch does not remove directories (in default setup)
Product: [Retired] Red Hat Linux Reporter: Aleksey Nogin <aleksey>
Component: tmpwatchAssignee: Preston Brown <pbrown>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-31 21:42:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Aleksey Nogin 2000-07-31 21:42:56 UTC
This problem existed for as long as tmpwatch was in RedHat distribution.
The problem is that by default tmpwatch uses atime for both files and
directories. But because tmpwatch is ran daily, the atime for directories
is always <= 1day, so it never removes them... I believe that by default,
tmpwatch should use atime for files and mtime for empty directories...

Comment 1 Derek Tattersall 2000-08-13 19:58:13 UTC

*** This bug has been marked as a duplicate of 14557 ***

Comment 2 Derek Tattersall 2000-08-13 19:58:51 UTC
Note:  This is fixed in the rawhide and the beta trees.

Comment 3 Matthew Miller 2005-05-16 17:24:59 UTC
I know this bug is ancient, but it never has seemed to work for me, even after
the year 2000....