SV-268117r1131034_rule
V-268117
SRG-OS-000057-GPOS-00027
ANIX-00-000590
CAT II
10
The systemd-journald directories are by design set to 2755 mode.
If any directories are found with incorrect perms, correct them with the following command:
$ sudo find /var/log/journal -type d -exec chmod 2755 {} \;
Verify NixOS protects log information from unauthorized read access by implementing a mode of 2755 or less on the creation of log directories with the following command:
$ sudo find /var/log/journal -type d -perm -2755 -not -perm 2755 -printf "%p %m\n"
If any directories have a permission of greater than 2755, this is a finding.
V-268117
False
ANIX-00-000590
Verify NixOS protects log information from unauthorized read access by implementing a mode of 2755 or less on the creation of log directories with the following command:
$ sudo find /var/log/journal -type d -perm -2755 -not -perm 2755 -printf "%p %m\n"
If any directories have a permission of greater than 2755, this is a finding.
M
5658