|
|
Message-ID: <20030606014916.GA24875@openwall.com>
Date: Fri, 6 Jun 2003 05:49:16 +0400
From: Solar Designer <solar@...nwall.com>
To: owl-users@...ts.openwall.com
Subject: Re: stmpclean problem
Hi,
This is Bcc'ed to the author of stmpclean.
I've confirmed the problem. Unfortunately.
stmpclean simply expects to see absolute pathnames on its command
line, such as /tmp. When it receives a relative one instead, it
interprets it relative to the root directory, not the current one.
A rather unfortunate behavior.
We'll think if we can quickly enough come up with a fix better than
refusing to work with non-absolute pathnames. (stmpclean cd's to /
before starting the work not without a reason.)
On Thu, Jun 05, 2003 at 10:06:06PM +0700, Ihsan wrote:
> I just deleted by accident very large number of non root file on my server.
> And that's happen after I run this command:
>
> # cd /var/spool/mailfilter/tmp
> # stmpclean ./
>
> Looks like stmpclean interpreted "./" as "/".
>
> A lost all of non root file on /var and /home. This trashing stop on
> /proc/, on /var/log/messages I find this:
>
> .... stmpclean[16747]: RACE?: isemptydir(): opendir("fd") in /proc/13703:
> Permission denied, exiting
>
> May be someone familiar with smtpclean can explain this problem?
>
> TIA
> ishobr
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.