roddhjav / apparmor.d

Full set of AppArmor profiles (~ 1500 profiles)
https://apparmor.pujol.io
GNU General Public License v2.0
444 stars 40 forks source link

Include user fonts in fc-cache #387

Closed Stoppedpuma closed 3 months ago

Stoppedpuma commented 3 months ago

Current behaviour blocks common locations for user installed fonts such as ~/.fonts and ~/.local/share/fonts

roddhjav commented 3 months ago

Can you provide some logs (fonts is already in fc-cache)

Stoppedpuma commented 3 months ago

Basically just one of these for every font in ~/.fonts

DENIED fc-cache open @{HOME}/.fonts/Impact/ comm=fc-cache requested_mask=r denied_mask=r DENIED fc-cache open @{HOME}/.fonts/Isoveka/ comm=fc-cache requested_mask=r denied_mask=r DENIED fc-cache open @{HOME}/.fonts/JetBrainsMono/ comm=fc-cache requested_mask=r denied_mask=r

roddhjav commented 3 months ago

These are already present in the fonts abstraction. The only difference is the absence of owner in your log which seems problematic. How are you using fc-cache?

Stoppedpuma commented 3 months ago

I completely forgot I had sudo in my alias for updating font cache, closing.