mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-21 17:47:10 +00:00
Merge profiles: Allow curl to read tmp, for scripts which might use config/etags/data...
Some system scripts, namely pollinate, pass temporary files as data. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1769 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
ebba635fa9
@ -27,6 +27,9 @@ profile curl /usr/bin/curl {
|
||||
# (see --config, --cacert options)
|
||||
file r @{HOME}/**,
|
||||
|
||||
# allow reading data/config from tmp
|
||||
owner file r /tmp/**,
|
||||
|
||||
# allow writing output to $HOME, /tmp (see -o option)
|
||||
file w @{HOME}/**,
|
||||
file w /tmp/**,
|
||||
|
Loading…
x
Reference in New Issue
Block a user