The generic boilerplate part of this patch (see the rpm+fsync.gz patch in 
comment #2) is now committed at 

You will need to enable/disable manually with this change in lib/fsm.c
diff --git a/lib/fsm.c b/lib/fsm.c
index 553774b..09f0354 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -218,7 +218,7 @@ static int expandRegular(rpmfi fi, const char *dest, rpmpsm 
psm, int nodigest, i
     /* Create the file with 0200 permissions (write by owner). */
        mode_t old_umask = umask(0577);
-       wfd = Fopen(dest, "w.ufdio");
+       wfd = Fopen(dest, "wS.ufdio");
     if (Ferror(wfd)) {

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Rpm-maint mailing list

Reply via email to