I use manjaro kde plasma unstable. I am experiencing a strange error when I try to browse /var/log or /var/cache folder. The permission error appears in the log as soon as I browse any of these location. I do not try to open any files but permission issue pops up in system log.
~ journalctl -p 3 -b ✔
Aug 28 08:46:49 ajayc-X430UA kernel: x86/cpu: SGX disabled by BIOS.
Aug 28 08:46:49 ajayc-X430UA kernel: blacklist: Problem blacklisting hash (-13)
Aug 28 08:46:49 ajayc-X430UA kernel: blacklist: Problem blacklisting hash (-13)
Aug 28 08:46:49 ajayc-X430UA kernel: blacklist: Problem blacklisting hash (-13)
Aug 28 08:46:49 ajayc-X430UA kernel: blacklist: Problem blacklisting hash (-13)
Aug 28 08:46:51 ajayc-X430UA kernel: i2c_hid_acpi i2c-ELAN1300:00: device returned incorrect report (2 vs 14 expected)
Aug 28 08:46:53 ajayc-X430UA systemd[605]: Failed to start Update XDG user dir configuration.
Aug 28 08:47:01 ajayc-X430UA kded5[750]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
Aug 28 08:47:01 ajayc-X430UA kded5[750]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
Aug 28 08:47:24 ajayc-X430UA dolphin[1160]: inotify_add_watch(/var/cache/cups) failed: (Permission denied)
Aug 28 08:47:24 ajayc-X430UA dolphin[1160]: inotify_add_watch(/var/cache/ldconfig) failed: (Permission denied)
Aug 28 08:47:24 ajayc-X430UA dolphin[1160]: inotify_add_watch(/var/cache/private) failed: (Permission denied)
Aug 28 08:47:29 ajayc-X430UA dolphin[1160]: inotify_add_watch(/var/log/audit) failed: (Permission denied)
Aug 28 08:47:29 ajayc-X430UA dolphin[1160]: inotify_add_watch(/var/log/private) failed: (Permission denied)
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.4-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook S14 X430UA
System Version: 1.0
The issue is not causing any operational hindrance so not a critical one. Just seeking advice as to why this permission issue error only happens when browsing /var/cache or /var/log folder. I have not touched any default permission on the system.
I even tried to follow the solution posted in another post on this forum but it does not help since the default value on my system is anyway 208400.
echo fs.inotify.max_user_watches=204800 | sudo tee /etc/sysctl.d/40-max-user-watches.conf