mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-02-04 16:15:06 +07:00
journald: properly update perms on freshly rotate user journals
This commit is contained in:
parent
bfba3256a0
commit
b58b344afd
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user