Inotify_add_watch Permission denied

Hey everyone, new forum looks pretty awesome :slight_smile:
Does anyone know how to setup right permissions for inotify_add_watch? Getting a long log of errors in sudo journalctl -p 3 -xb related to kdeinit5 inotify_add_watch(<many different directories>) failed: (Permission denied). Among the directories there is stuff like /boot/efi, /etc/pacman.d/gnupg, /var/lib/snapd/snap/core18 and a lot of other stuff. Didn’t find anything related to this in inotify documentation or other forum topics. Thanks in advance :slight_smile:

How about posting the actual journal output (no screenshots, use ‘code’ tags)?

Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/boot/efi) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/NetworkManager/system-connections) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/samba/private) failed: (Permission denied)
Aug 16 21:00:30 sunless kdeinit5[16370]: inotify_add_watch(/etc/sudoers.d) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/lost+found) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/boot/efi) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/NetworkManager/system-connections) failed: (Permission>
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission d>
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permission >
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/samba/private) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/sudoers.d) failed: (Permission denied)
Aug 16 21:00:34 sunless kdeinit5[16370]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/root) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/etc/ssl/private) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/root) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/var/cache/ldconfig) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/var/lib/private) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/var/lib/snapd/void) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/lock/lvm) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/cryptsetup) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/cups/certs) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/lock/lvm) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/openvpn-client) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/openvpn-server) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/sudo) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/svnserve) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/systemd/inaccessible) failed: (Permission denied)
Aug 16 21:00:35 sunless kdeinit5[16370]: inotify_add_watch(/run/systemd/unit-root) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/lost+found) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/boot/efi) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/NetworkManager/system-connections) failed: (Permissi>
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission>
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permissio>
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/samba/private) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/sudoers.d) failed: (Permission denied)
Aug 16 21:00:36 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/root) failed: (Permission denied)
Aug 16 21:00:37 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/usr/lib/firmware/b43) failed: (Permission denied)
Aug 16 21:00:37 sunless kdeinit5[16370]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/usr/lib/firmware/b43legacy) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/boot/efi) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/NetworkManager/system-connections) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/samba/private) failed: (Permission denied)
Aug 16 21:01:45 sunless kdeinit5[16373]: inotify_add_watch(/etc/sudoers.d) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/lost+found) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/boot/efi) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/NetworkManager/system-connections) failed: (Permission>
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission d>
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permission >
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/samba/private) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/sudoers.d) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/home/sunless/media/timeshift/snapshots/2020-07-30_17-31-21/localhost/root) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/etc/ssl/private) failed: (Permission denied)
Aug 16 21:01:47 sunless kdeinit5[16373]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/root) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/var/cache/ldconfig) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/var/lib/private) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/var/lib/snapd/snap/core18/1880/var/lib/snapd/void) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/lock/lvm) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/cryptsetup) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/cups/certs) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/lock/lvm) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/openvpn-client) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/openvpn-server) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/sudo) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/svnserve) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/systemd/inaccessible) failed: (Permission denied)
Aug 16 21:01:48 sunless kdeinit5[16373]: inotify_add_watch(/run/systemd/unit-root) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/lost+found) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/boot/efi) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/NetworkManager/system-connections) failed: (Permissi>
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission>
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permissio>
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/samba/private) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/etc/sudoers.d) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/root) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/usr/lib/firmware/b43) failed: (Permission denied)
Aug 16 21:01:49 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/usr/lib/firmware/b43legacy) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/usr/share/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/cache/apparmor) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/cache/cups) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/cache/ldconfig) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/cache/private) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/db/sudo) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/AccountsService/users) failed: (Permission denie>
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/NetworkManager) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/dhcpcd) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/gssproxy/rcache) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/machines) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/nfs/sm) failed: (Permission denied)
Aug 16 21:01:55 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/nfs/sm.bak) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/portables) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/private) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/rpcbind) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/samba/bind-dns) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/samba/private) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/cache) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/cookie) failed: (Permission denied)
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core18/1880/etc/ssl/private) failed: >
Aug 16 21:01:56 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core18/1880/root) failed: (Permission>
Aug 16 21:01:57 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core18/1880/var/cache/ldconfig) faile>
Aug 16 21:01:57 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core18/1880/var/lib/private) failed: >
Aug 16 21:01:57 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core18/1880/var/lib/snapd/void) faile>
Aug 16 21:01:57 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core20/634/etc/ssl/private) failed: (>
Aug 16 21:01:57 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core20/634/root) failed: (Permission >
Aug 16 21:01:58 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core20/634/var/cache/ldconfig) failed>
Aug 16 21:01:58 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core20/634/var/cache/private) failed:>
Aug 16 21:01:58 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core20/634/var/lib/private) failed: (>
Aug 16 21:01:58 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/snap/core20/634/var/lib/snapd/void) failed>
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/snapd/void) failed: (Permission denied)
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/lib/udisks2) failed: (Permission denied)
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/log/audit) failed: (Permission denied)
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/log/private) failed: (Permission denied)
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/spool/cups) failed: (Permission denied)
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/tmp/systemd-private-ca31547f81e742d1b8cddab77653ed14>
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/tmp/systemd-private-ca31547f81e742d1b8cddab77653ed14>
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-07-30_17-31-21/localhost/var/tmp/systemd-private-ca31547f81e742d1b8cddab77653ed14>
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/boot/efi) failed: (Permission denied)
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/NetworkManager/system-connections) failed: (Permissi>
Aug 16 21:02:09 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission>
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permissio>
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/samba/private) failed: (Permission denied)
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/etc/sudoers.d) failed: (Permission denied)
Aug 16 21:02:10 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/root) failed: (Permission denied)
Aug 16 21:02:12 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/usr/lib/firmware/b43) failed: (Permission denied)
Aug 16 21:02:12 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/usr/lib/firmware/b43legacy) failed: (Permission denied)
Aug 16 21:02:22 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/usr/share/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/cache/apparmor) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/cache/cups) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/cache/ldconfig) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/cache/private) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/db/sudo) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/AccountsService/users) failed: (Permission denie>
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/NetworkManager) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/dhcpcd) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/gssproxy/rcache) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/machines) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/nfs/sm) failed: (Permission denied)
Aug 16 21:02:23 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/nfs/sm.bak) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/portables) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/private) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/rpcbind) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/samba/bind-dns) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/samba/private) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/cache) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/cookie) failed: (Permission denied)
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core18/1880/etc/ssl/private) failed: >
Aug 16 21:02:24 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core18/1880/root) failed: (Permission>
Aug 16 21:02:25 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core18/1880/var/cache/ldconfig) faile>
Aug 16 21:02:25 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core18/1880/var/lib/private) failed: >
Aug 16 21:02:25 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core18/1880/var/lib/snapd/void) faile>
Aug 16 21:02:25 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core20/634/etc/ssl/private) failed: (>
Aug 16 21:02:25 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core20/634/root) failed: (Permission >
Aug 16 21:02:26 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core20/634/var/cache/ldconfig) failed>
Aug 16 21:02:26 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core20/634/var/cache/private) failed:>
Aug 16 21:02:26 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core20/634/var/lib/private) failed: (>
Aug 16 21:02:26 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snap/core20/634/var/lib/snapd/void) failed>
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/snapshots) failed: (Permission denied)
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/snapd/void) failed: (Permission denied)
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/lib/udisks2) failed: (Permission denied)
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/log/audit) failed: (Permission denied)
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/log/private) failed: (Permission denied)
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/spool/cups) failed: (Permission denied)
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/tmp/systemd-private-35da2c26e73940618ff6c825469bc731>
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/tmp/systemd-private-35da2c26e73940618ff6c825469bc731>
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-03_17-36-31/localhost/var/tmp/systemd-private-35da2c26e73940618ff6c825469bc731>
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/boot/efi) failed: (Permission denied)
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/NetworkManager/system-connections) failed: (Permissi>
Aug 16 21:02:31 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/audisp/plugins.d) failed: (Permission denied)
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/cups/ssl) failed: (Permission denied)
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/lvm/cache) failed: (Permission denied)
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/pacman.d/gnupg/crls.d) failed: (Permission denied)
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/pacman.d/gnupg/openpgp-revocs.d) failed: (Permission>
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/pacman.d/gnupg/private-keys-v1.d) failed: (Permissio>
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/polkit-1/rules.d) failed: (Permission denied)
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/samba/private) failed: (Permission denied)
Aug 16 21:02:32 sunless kdeinit5[16373]: inotify_add_watch(/run/timeshift/backup/timeshift/snapshots/2020-08-05_18-47-58/localhost/etc/sudoers.d) failed: (Permission denied)

Might need to increase max_user_watches.

Output of:

sysctl fs.inotify.max_user_watches

?

fs.inotify.max_user_watches = 16384

Try increasing watches:

sudo sysctl fs.inotify.max_user_watches=204800

If that don’t take, try:

echo fs.inotify.max_user_watches=204800 | sudo tee /etc/sysctl.d/40-max-user-watches.conf

Check output of

sysctl fs.inotify.max_user_watches

To make sure new value stuck, reboot and monitor.

1 Like

had a 50-max-user-watchese.conf file there, looks like it’s a bug (Arch/Manjaro - wiki/Increasing-the-amount-of-inotify-watchers · Issue #444 · guard/listen · GitHub). Thx for the reply, solution seems to work for me so far

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.