0640 permission in permissions_local_var_log should only apply to files #10856
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Ubuntu remediation for permissions_local_var_log changes the permission of /var/log to 0640 as a result services like lighttpd can't access it logfiles.
Rationale:
Services should be able to access their logfiles.
Review Hints:
In the yml file for this rule the check is listet for files only.
content/linux_os/guide/system/permissions/files/permissions_local_var_log/rule.yml
Line 52 in afbd589
Thank you.