From b58b344afd1c6dd4ef2b96451c726571f867d130 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 17 Sep 2012 15:53:42 +0200 Subject: journald: properly update perms on freshly rotate user journals --- src/journal/journald.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/journal') diff --git a/src/journal/journald.c b/src/journal/journald.c index 5de337172e..871bbb636f 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)); } } } -- cgit v1.2.3-54-g00ecf