Fix firefox profile

master^2
hammaspeikko 4 years ago
parent 6600199abd
commit f379c63d89
Signed by: hammaspeikko
GPG Key ID: 1B5EF182ADF8A646

@ -1,9 +1,11 @@
#!/usr/bin/env bash
sudo rm /etc/apparmor.d/usr.bin.firefox
sudo cp usr.bin.telegram-desktop /etc/apparmor.d/usr.bin.telegram-desktop
sudo cp usr.bin.firefox /etc/apparmor.d/usr.bin.firefox
sudo cp usr.lib.firefox.firefox /etc/apparmor.d/usr.lib.firefox.firefox
cd /tmp # added due to Profile for <redacted>/apparmor-profiles/usr.bin.telegram-desktop not found, skipping
sudo aa-enforce "usr.bin.telegram-desktop" && \
sudo aa-enforce "usr.bin.firefox" && \
sudo aa-enforce "usr.lib.firefox.firefox" && \
sudo systemctl reload apparmor

@ -1,6 +1,6 @@
#include <tunables/global>
/usr/bin/firefox {
/usr/lib/firefox/firefox {
#include <abstractions/base>
#include <abstractions/mesa>
#include <abstractions/nameservice>
@ -124,4 +124,4 @@
owner /usr/lib/firefox/fonts/** rw,
owner /usr/share/fonts/** rw,
}
}
Loading…
Cancel
Save