[tmpwatch 0005266]: tmpwatch is attempting to remove non-empty directories
Mantis Bug Tracker via bug-notifications
bug-notifications at lists.opencsw.org
Fri Feb 12 15:53:36 CET 2016
The following issue has been SUBMITTED.
======================================================================
https://www.opencsw.org/mantis/view.php?id=5266
======================================================================
Reported By: vchepkov
Assigned To:
======================================================================
Project: tmpwatch
Issue ID: 5266
Category: regular use
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-02-12 15:53 CET
Last Modified: 2016-02-12 15:53 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 ../
======================================================================
More information about the bug-notifications
mailing list