On Sat, 4 Mar 2023 15:02:59 -0300 Gonzalo Arreche <[email protected]>
wrote:
> On Tue, 26 Apr 2022 09:58:11 +0200 Henrik Christian Grove
> <[email protected]> wrote:
> > I just read (and understood) Mikkel's suggestion. That won't help in my
> > case, I basically need read permissions to *all* files in
> > `.config/redshift`.
> >
> > Unfortunately I don't know apparmor well enough to suggest an addition
> > to the policy that will accomplish that.
> >
> >
>
> This could help until it gets fixed upstream:
>
> Edit the file /etc/apparmor.d/usr.bin.redshift and change the line
>
> owner @{HOME}/.config/redshift.conf r,
>
> To
>
> owner @{HOME}/.config/redshift/* r,
>
>
> Then restart apparmor: sudo systemctl restart apparmor
I added the entry instead of changing the original (which could work for some
users) and can confirm that it fixed the issue for me with missing read
permissions.
--
Mathias Behrle
PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6