On Wed, 22 May 2002 19:27:02 +0200, Wolfgang Weisselberg wrote:
>BTW, I think zpack could be done better by copying the original
>to .bak, generate a new DB .new (as done in zpack) and then
>atomically rename .new to be the database. But currently I lack
>the time for a patch for that. :-/
(Getting OT, sorry for that)
The problem with that, at least under Unix and in the generic case, is
that it's impossible to keep the original owner and permissions of the
file for your copy.
My assumption is that the file is owned by somebody, read/writable for
group and/or world, and that the script runs as somebody else, for
example as with CGI scripts.
Or am I missing something?
--
Bart.