-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions on /var/log/journal
are not correctly set by systemd-tmpfiles
#5264
Labels
Comments
nlewo
added a commit
to nlewo/systemd
that referenced
this issue
Feb 7, 2017
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 systemd#5264.
This was referenced Feb 7, 2017
keszybz
pushed a commit
that referenced
this issue
Feb 7, 2017
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.
reopen please.
|
@shaba sorry, I'm not able to test it now with |
Yes, systemd-232 run this config without error. |
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Mar 30, 2017
Might help with systemd#5264.
@keszybz do you know more about this? |
Closing due to lack of response. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Submission type
NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!
systemd version the issue has been seen with
NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!
Used distribution
In case of bug report: Expected behaviour you didn't see
In case of bug report: Unexpected behaviour you saw
I think this is due to:
/var/log/journal
has been created with permissions700
tmpfiles.d
directives which has been:The first rule set the primary group to
---
while the second rule only sets the mask.In case of bug report: Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: