journalctl access for non-root users
Solution 1:
The solution is to change group ownership and add a sticky bit to the parent folder before the .journal
files are created.
chown :systemd-journal /var/log/journal/f9afeb75a5a382dce8269887a67fbf58
chmod g+s /var/log/journal/f9afeb75a5a382dce8269887a67fbf58
Solution 2:
Well, I am not running Centos 7, but found this issue. I did these steps, but did not help, at least on Ubuntu 18.04 I got a message that
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
So I did sudo usermod -a -G systemd-journal my_user
then exit (from ssh) and log back in for the groups change to take effect and after that I can see the journal messages with my normal user.