Update AppArmor profiles

This commit is contained in:
Eric Torres
2019-03-11 11:02:13 -07:00
parent d5a79a00ec
commit 3452b40b55
4 changed files with 16 additions and 7 deletions

View File

@ -2,16 +2,20 @@
/usr/bin/addpkg {
#include <abstractions/base>
#include <abstractions/bash>
#include <abstractions/python>
/usr/bin/addpkg mrix,
/usr/bin/repo-add Ux,
/etc/pacman.conf r,
/etc/pacman.d/ r,
/etc/pacman.d/** r,
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
/var/cache/pacman/ r,
/var/cache/pacman/** rw,
# Home permissions are really touchy
# Since PKGBUILD files exist only on
# the top level of each package anyways
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
}

View File

@ -5,13 +5,18 @@
#include <abstractions/bash>
#include <abstractions/python>
/usr/bin/delpkg mrix,
/usr/bin/repo-remove Ux,
/etc/pacman.conf r,
/etc/pacman.d/ r,
/etc/pacman.d/** r,
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
/var/cache/pacman/ r,
/var/cache/pacman/** rw,
# Home permissions are really touchy
# Since PKGBUILD files exist only on
# the top level of each package anyways
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
}