Репозитории ALT
Группа :: Работа с файлами
Пакет: stmpclean
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
stmpclean-0.3/ 0000755 0000000 0000000 00000000000 12274211702 0013336 5 ustar 00root root 0000000 0000000 stmpclean-0.3/FAQ 0000644 0000000 0000000 00000002632 12274211702 0013673 0 ustar 00root root 0000000 0000000 This is the list of frequently asked questions about stmpclean.
Before you ask your question, please consult this.
$Id: FAQ,v 1.3 2000/10/17 17:53:58 shalunov Exp $
------------------------------------------------------------
> I get this error when I run ./stmpclean -t 3w /var/spool/mail
> stmpclean[24030]: RACE?: unlink("tcal") in /var/spool/mail:
> Permission denied, exiting
Stmpclean has not been designed to be run over mail spools or home
directories!
You should *not* run stmpclean on /var/spool/mail. You are risking
deleting precious mail files. You're going to delete *all* mail in
the system mailbox of all users who haven't gotten new mail (or
changed their mailbox by reading it and, say, deleting a message)
in three weeks.
If you insist on doing exactly that, you can use stmpclean, but you
must set permissions on /var/spool/mail as they are normally set on
/tmp. You better do a backup before you delete people's mail.
* Do "ls -ld /var/spool/mail"; notice the permissions on the
directory.
* Change the permissions: "chmod 1777 /var/spool/mail".
* Run stmpclean.
* Set permissions back to what they were. E.g., for "drwxrwxr-x"
you'd say "chmod 775 /var/spool/mail".
* Respond to angry users' questions as to where their mail is now
gone.
> Will stmpclean run on <insert your favorite system here>?
See list of supported platforms in the README file, which accompanies
the distribution.