Re: #19519: tmpreaper: Will not remove dirs

1998-04-10 Thread Rob Browning
Rob Browning <[EMAIL PROTECTED]> writes: > Assuming that you don't have to worry about new files inserted into > the tree while tmpreaper is running (do you?), then it's probably > easiest to just do this operation in two passes. (This is off the top > of my head, so I'm nearly certain there's a

Re: #19519: tmpreaper: Will not remove dirs

1998-04-10 Thread Rob Browning
[EMAIL PROTECTED] (Karl M. Hegbloom) writes: [ I didn't send this to the bug system. Is that what you meant? ] > There is some difficulty in programming this `mtime-mt-dir' option. > The problem is that it must first recurse down any subdirectories to > look for files to remove there, prior t

Re: #19519: tmpreaper: Will not remove dirs

1998-04-10 Thread Karl M. Hegbloom
[ Please remove CC's of impertinent replies to the bugs address. ] Summary: `tmpreaper' will not remove empty dirs because the atime gets changed by `ls' or any touch of the directory. I've been asked to implement an option to delete empty dirs with (>= mtime+grace now). There is some diff