On Wed, 31 Jan 2024 22:37:01 +0300 Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On 31.01.2024 21:54, -pj via openSUSE Users wrote:
On 01-31-2024 12:37AM, Andrei Borzenkov wrote:
On Wed, Jan 31, 2024 at 9:33 AM -pj via openSUSE Users <users@lists.opensuse.org> wrote:
Hi, I am receiving this message when passing: journalctl -b -1 -r
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
The issue is that I am in the "systemd-journal" group.
Thinkcentre-M57p:/usr/bin> groups paul
paul : paul audio cdrom systemd-journal
Thinkcentre-M57p:/usr/bin>
Show
id -a
output. Also check permissions on journal (sub-)directories - /run/log/journal and /var/log/journal (and of course on the parent path).
Is this readable? Composition & Addressing > Composition > Compose messages in HTML format is toggled *off* in Thunderbird now.
Thinkcentre-M57p:/> id -a uid=1000(paul) gid=1000(paul) groups=1000(paul),474(systemd-journal),488(cdrom),489(audio)
Thinkcentre-M57p:/run/log/journal> ls -lah total 0 drwxr-sr-x 2 root systemd-journal 40 Jan 31 00:24 . drwxr-xr-x 3 root root 60 Jan 31 00:24 .. Thinkcenter-M57p:/run/log/journal>
Thinkcentre-M57p:/var/log/journal> ls -lah total 4.0K drwxr-sr-x 1 root systemd-journal 64 Sep 18 2021 . drwxr-xr-x 1 root root 1.4K Jan 31 00:25 .. drwxr-sr-x 1 root systemd-journal 16K Jan 31 00:25 d27ebfd1ed87479da329ef76152c4dc3 Thinkcentre-M57p:/var/log/journal>
This shows permissions of the content of /var/log/journal, not the /var/log/journal itself nor the permissions of individual journal files. Show
Well it does actually show the permissions of /var/log/journal and /var/log for that matter, since he used a -a option. But I agree he didn't show the sub-directories :( And pj that 'file' is not a file, but a sub-directory! Most people have the -F option turned on so they can see it easily. The s means setgid.
ls -ld /var/log/journal ls -l /var/log/journal/d27ebfd1ed87479da329ef76152c4dc3
Also
strace -o /tmp/strace.log journalctl -b
and upload /tmp/strace.log to https://paste.opensuse.org/