> or, to still allow folders to be created: > > chown root:someuser Maildir/. > chmod 1770 Maildir/. > chown root:someuser Maildir/.??* > chmod -R ug+rwX,o-rwx Maildir/.??*
Prevents deletion of the .MyMaildir folders but not deletion of the containing new, cur, tmp folders or the emails themselves. So you end up with an empty non functional .MyMailDir folder, if you accidentally try to delete the root Maildir. > Actually, it's a user problem. If I type 'rm -rf /' it's a user problem. > If I hit delete on 'My Documents' the Windows Explorer won't stop me - > again a user problem... All users have that kind of problem to some extent, the newbies more often that the experienced users. That's why not everyone should have root access. And that is as well the reason why you have a trash folder in all modern OS, that collects what you deleted and give you the option to undo your action. So I agree with Juri, it is primarily a MUA problem (in that case Entourage). If you delete local folders or messages they are moved to the local trash folder. If you delete IMAP messages they are moved to the server's trash folder (in case you've configured it that way). But if you delete IMAP folders (Maildirs), they are deleted immediately. And even more dangerous, this is a recursive deletion. > Btw, that's what backups are for ... Yes, that's true. Have already redundant RAID arrays for hardware failure but no rollback backups for user failure ;-) Probably should add this. Peter ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
