[systemd-commits] src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Mon Sep 17 06:54:31 PDT 2012


 src/journal/journald.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b58b344afd1c6dd4ef2b96451c726571f867d130
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Sep 17 15:53:42 2012 +0200

    journald: properly update perms on freshly rotate user journals

diff --git a/src/journal/journald.c b/src/journal/journald.c
index 5de3371..871bbb6 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -347,7 +347,7 @@ static void server_rotate(Server *s) {
                                 log_error("Failed to create user journal: %s", strerror(-r));
                 else {
                         hashmap_replace(s->user_journals, k, f);
-                        server_fix_perms(s, s->system_journal, PTR_TO_UINT32(k));
+                        server_fix_perms(s, f, PTR_TO_UINT32(k));
                 }
         }
 }



More information about the systemd-commits mailing list