Allow software center to work again from browsers. It was blocked by

sanitized_helper. For now this only allows software-center scripts in
/usr/share, but we may need to increase what is allowed in /usr/share if more
things are denied when they shouldn't be.

Ubuntu-Bug: https://launchpad.net/bugs/972367

Acked-By: Jamie Strandboge <jamie@canonical.com>
This commit is contained in:
Jamie Strandboge 2012-05-02 07:43:30 -05:00
parent 33557e22ed
commit d2bcf440e8

View file

@ -48,6 +48,10 @@ profile sanitized_helper {
# Allow exec of libexec applications in /usr/lib*
/usr/lib*/{,**/}* Pixr,
# Allow exec of software-center scripts. We may need to allow wider
# permissions for /usr/share, but for now just do this. (LP: #972367)
/usr/share/software-center/* Pixr,
# Full access
/ r,
/** rwkl,