Loading ...
Sorry, an error occurred while loading the content.

Re: Feature request: postsuper release but don't delete (cloning?)

Expand Messages
  • Wietse Venema
    ... rsync creates a temporary name .mumble and renames the file into place. Wietse
    Message 1 of 10 , Jul 23, 2010
    • 0 Attachment
      Victor Duchovni:
      > On Thu, Jul 22, 2010 at 09:24:52PM +0200, Ralf Hildebrandt wrote:
      >
      > > * 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.

      rsync creates a temporary name ".mumble" and renames the file into place.

      Wietse
    Your message has been successfully submitted and would be delivered to recipients shortly.