mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
profiles: Allow curl to read tmp, for scripts which might use config/etags/data...
Signed-off-by: Simon Poirier <simon.poirier@canonical.com>
This commit is contained in:
parent
a8875460ed
commit
01ab33202a
@ -27,6 +27,9 @@ profile curl /usr/bin/curl {
|
|||||||
# (see --config, --cacert options)
|
# (see --config, --cacert options)
|
||||||
file r @{HOME}/**,
|
file r @{HOME}/**,
|
||||||
|
|
||||||
|
# allow reading data/config from tmp
|
||||||
|
owner file r /tmp/**,
|
||||||
|
|
||||||
# allow writing output to $HOME, /tmp (see -o option)
|
# allow writing output to $HOME, /tmp (see -o option)
|
||||||
file w @{HOME}/**,
|
file w @{HOME}/**,
|
||||||
file w /tmp/**,
|
file w /tmp/**,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user