Bug 14930 - tmpwatch does not remove directories (in default setup)
tmpwatch does not remove directories (in default setup)
Status: CLOSED DUPLICATE of bug 14557
Product: Red Hat Linux
Classification: Retired
Component: tmpwatch (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Preston Brown
Depends On:
  Show dependency treegraph
Reported: 2000-07-31 17:42 EDT by Aleksey Nogin
Modified: 2005-10-31 17:00 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-31 17:42:57 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 Aleksey Nogin 2000-07-31 17:42:56 EDT
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 15:58:13 EDT

*** This bug has been marked as a duplicate of 14557 ***
Comment 2 Derek Tattersall 2000-08-13 15:58:51 EDT
Note:  This is fixed in the rawhide and the beta trees.
Comment 3 Matthew Miller 2005-05-16 13:24:59 EDT
I know this bug is ancient, but it never has seemed to work for me, even after
the year 2000....

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