OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005266 [tmpwatch] regular use minor always 2016-02-12 15:53 2016-02-19 15:08
Reporter vchepkov View Status public  
Assigned To dam
Priority normal Resolution open  
Status feedback  
Summary 0005266: 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 ../
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0011086)
vchepkov (reporter)
2016-02-12 16:05

forgot to mention. tmpwatch on Linux doesn't act this way
# pkginfo -l CSWtmpwatch
   PKGINST: CSWtmpwatch
      NAME: tmpwatch - Removes files which haven't been accessed for a period of time
  CATEGORY: application
      ARCH: sparc
   VERSION: 2.10.1,REV=2014.04.11
   BASEDIR: /
    VENDOR: https://fedorahosted.org/tmpwatch/ [^] packaged for CSW by Maciej Blizinski
    PSTAMP: maciej@unstable9s-20140411012129
  INSTDATE: Jun 17 2015 16:47
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: maciej@opencsw.org
    STATUS: completely installed
     FILES: 6 installed pathnames
                   1 shared pathnames
                   2 directories
                   2 executables
                 118 blocks used (approx)
(0011087)
dam (administrator)
2016-02-15 21:40

I made some experimental 2.11 packages, feel free to try them:
  http://buildfarm.opencsw.org/experimental.html#dam [^]

Best regards -- Dago


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker