Re: Feature request: postsuper release but don't delete (cloning?)
- Victor Duchovni:
> On Thu, Jul 22, 2010 at 09:24:52PM +0200, Ralf Hildebrandt wrote:rsync creates a temporary name ".mumble" and renames the file into place.
> > * Victor Duchovni <Victor.Duchovni@...>:
> > > Note, if rsync propagates file permissions before it copies file contents,
> > > an incomplete queue file could be picked up by the queue manager before
> > > it is completely written. So it is safer to rsync outside "incoming"
> > > (in the same file-system) and then rename into "incoming".
> > Good point. rsycn it some place else, the mv it atomically.
> But not necessary if rsync temp file names are Postfix-safe (i.e.
> not alnum + '_'), which is probably the case, so my point is likely
> moot, but checking the validity of the assumption is sensible.