directories not deleted when folder is

David Carter dpc22 at cam.ac.uk
Mon Dec 20 08:14:31 EST 2004


On Mon, 20 Dec 2004, Phil Chambers wrote:

> I have discovered that directories are often being left in the file 
> system when a user deletes the corresponding folder. cyrus.header, 
> cyrus.index and cyrus.cache and all message files are removed, but not 
> the directory for the folder itself.

This happens when you delete a mailbox which has subsiduary mailboxes
and then later come back and delete the subsiduary mailboxes.

> I can't say what percentage of the time this happens when users delete 
> using there e-mail client but I have just deleted 1581 user accounts 
> using a perl script which uses deletemailbox().  Of the 1581 the 
> directories remained for 11.  In fact, the whole directory structures 
> remained for each user with all the files removed.

Maybe a consequence of the order in which the mailboxes were listed?

-- 
David Carter                             Email: David.Carter at ucs.cam.ac.uk
University Computing Service,            Phone: (01223) 334502
New Museums Site, Pembroke Street,       Fax:   (01223) 334679
Cambridge UK. CB2 3QH.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list