[systemd-devel] [PATCH] tmpfiles: Fix journal file permissions broken by a606871
Greg KH
gregkh at linuxfoundation.org
Mon Jun 9 17:39:27 PDT 2014
On Mon, Jun 09, 2014 at 08:37:18PM +0200, Jan Alexander Steffens wrote:
> 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.
Ok, let me test this on a system that previously was requring this
change later tonight and let you know if it still all works properly for
me...
thanks,
greg k-h
More information about the systemd-devel
mailing list