mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
profiles/apparmor.d/tinyproxy: allow capability setgid
tinyproxy drops privileges in some configurations so ensure we allow it. Signed-off-by: Alex Murray <alex.murray@canonical.com>
This commit is contained in:
parent
f2a6860767
commit
965a678cb7
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ profile tinyproxy /usr/bin/tinyproxy {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
# allow to drop privileges
|
||||||
|
capability setgid,
|
||||||
|
|
||||||
# to provide flexibility, when run as root tinyproxy may need to read files
|
# to provide flexibility, when run as root tinyproxy may need to read files
|
||||||
# owned by other users
|
# owned by other users
|
||||||
capability dac_override,
|
capability dac_override,
|
||||||
|
|
Loading…
Add table
Reference in a new issue