Re: hypermail schould not overwrite files with mode 0000

---------

From: Martin Schulze (joey@carelia.infodrom.north.de)
Date: Sat Sep 16 2000 - 07:18:46 CDT


Daniel Stenberg wrote:
> On Wed, 13 Sep 2000, Martin Schulze wrote:
>
> > As of remote request I have disabled a web page, i.e. an archived page
> > that refers to a lists mail. I haven't removed it but chmod 0 it.
> >
> > For some reason hypermail wanted to overwrite *that* file with a newly
> > archived mail. The file should be honored properly.
>
> Should it?
>
> I'm not sure I understand this problem.
>
> You have a mailbox, you run hypermail on it to create a number of HTML files.
> You chmod 0 one of the HTML files.
>
> When you run hypermail again you want that chmoded file to remain so?
>
> Or what part am I missing?

Each time a mail gets delivered to a special address hypermail is
issued to add them to the archive of generated HTML files. Assume
there are files 0001.html up to 0345.html and I issued "chmod 0 0210.html".
Now assume a new mail is sent to that address and hypermail is issued
again.

Now what happens is, hypermail tries to write that new file as 0210.html
instead of 0346.html. Why? Wouldn't it be more expectable that the
file 0210.html would be ignored and a new file would be created?
Especially since writing to 0210.html fails?

Did this explanation shed more light onto the problem?

Regards,

        Joey

-- 
Let's call it an accidental feature.  --Larry Wall
Oldenburger LinuxTag 2000                 http://oldenburger.linuxtage.de/

---------

This archive was generated by hypermail 2.1.5.