[systemd-devel] [PATCH] tmpfiles: Fix journal file permissions broken by a606871

Jan Alexander Steffens jan.steffens at gmail.com
Mon Jun 9 11:37:18 PDT 2014


On Mon, Jun 9, 2014 at 8:30 PM, Greg KH <gregkh at linuxfoundation.org> wrote:
> Why do you think they should not be?

Executability is just nonsense, while world-readability goes against
the systemd-journald manpage, which claims that, by default, only
users in the systemd-journal system group can read journals not their
own.

> What type of system did you test this change on?  Did you try a box with
> no journal at all and have it create one on startup that can then be
> read by all users?

Just my laptop. systemd-tmpfiles kept overwriting the modes of the
journal files to 0755, even though they should be 0640 to match the
above claim.


More information about the systemd-devel mailing list