]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles.d: set primary group rights to r-w (#5265)
authorlewo <lewo@abesis.fr>
Tue, 7 Feb 2017 23:56:55 +0000 (00:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 7 Feb 2017 23:56:55 +0000 (18:56 -0500)
commit15fcdc98cf4db7acdf5cd8df7614f3d3798ae81e
tree75f1695384b43001b406d0ddfc6f857fed925220
parent55295fd84d7ab0b80a3bda467f6be8d512311909
tmpfiles.d: set primary group rights to r-w (#5265)

If the /var/log/journal directory is created with rigths 700, the application
of an ACL rules without any primary group right sets it to 0. A chmod 755 on
this file will then only set the ACL mask and let the ACL primary group right
to 0. The directory is then unreadable for the primary group.

This patch explicitly sets the primary group to avoid this problem.

Fixes #5264.
tmpfiles.d/systemd.conf.m4