Bug#988068: Info received (Another case where the current apparmor profile causes problems)

2023-03-04 Thread Gonzalo Arreche
On Tue, 26 Apr 2022 09:58:11 +0200 Henrik Christian Grove 
 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



Bug#988068: Info received (Another case where the current apparmor profile causes problems)

2022-04-26 Thread Henrik Christian Grove
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.