Re: symlinks are clobbered

Dan Drake <[email protected]> Tue, 2 Nov 2004 09:52:05 -0600
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <20041102155205.GA5358@aleph-one>
On Tue, 02 Nov 2004 at 08:35AM +0100, Mark Overmeer wrote:
> I cannot remember reading about it.  Probably you message didn't
> pass my manual "spam filter" (I get a few hundred a day).

How ironic. :) A message about a spam script flagged as spam...it's
okay, though, I solved my problem by copying the file elsewhere, then
back, which is perhaps better since this script gets called from mutt,
which of course has the mailbox open when the script runs.

> To update the folder, you use
>   $folder->write(policy => 'INPLACE');
> That will leave the file/permission/link as it is.

That's what I was looking for. Thanks for your help, and thanks for
writing Mail::Box. It made it all very easy for me.

My script is posted at [1], in case you or anyone on the list is
interested.

Dan

  1. http://www.livejournal.com/users/dandrake/33685.html?mode=reply
-- 
Ceci n'est pas une .signature.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBh60lWvEsgqF+1YQRAipeAKC19zBQhLP1ZVdkKXZZuZygDCUDlACggfi4
e2QqbHiQDBbbGXcDyJTn3pg=
=hesl
-----END PGP SIGNATURE-----