[tmpwatch 0005266]: tmpwatch is attempting to remove non-empty directories

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Mon Feb 15 21:40:19 CET 2016


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5266 
====================================================================== 
Reported By:                vchepkov
Assigned To:                dam
====================================================================== 
Project:                    tmpwatch
Issue ID:                   5266
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2016-02-12 15:53 CET
Last Modified:              2016-02-15 21:40 CET
====================================================================== 
Summary:                    tmpwatch is attempting to remove non-empty
directories
Description: 
if files are being modified in a directory, but directory itself is not,
tmpwatch is trying to remove non-empty directory, for example:

tmpwatch  -m 7d /devl/data/test_delivery/
 
produced the following output:
 
error: failed to rmdir /devl/data/test_delivery/dtd: File exists

bash $ ls -altr /devl/data/test_delivery/dtd
total 712
drwxrwxr-x   2 xxxxxx   xxx         4096 Feb  2 14:23 ./
-rw-rw-r--   1 xxxxxx   xxx        35316 Feb  5 11:48 chars.sgm
-rw-rw-r--   1 xxxxxx   xxx         8902 Feb  5 11:48 obsolete.sgm
-rw-rw-r--   1 xxxxxx   xxx          398 Feb  5 11:48 pdm-mod.catalog
-rw-rw-r--   1 xxxxxx   xxx         3078 Feb  5 11:48 pdm-mod.decl
-rw-rw-r--   1 xxxxxx   xxx         1276 Feb  5 11:48 pdm-mod.dtd
-rw-rw-r--   1 xxxxxx   xxx       275556 Feb  5 11:48 pdm-mod.sgm
drwxrwxr-x   9 xxxxxx   xxx        12288 Feb 10 10:52 ../

====================================================================== 

---------------------------------------------------------------------- 
 (0011087) dam (administrator) - 2016-02-15 21:40
 https://www.opencsw.org/mantis/view.php?id=5266#c11087 
---------------------------------------------------------------------- 
I made some experimental 2.11 packages, feel free to try them:
  http://buildfarm.opencsw.org/experimental.html#dam

Best regards -- Dago



More information about the bug-notifications mailing list