mirror of
https://git.proxmox.com/git/systemd
synced 2025-08-04 04:21:26 +00:00
9 lines
282 B
Desktop File
9 lines
282 B
Desktop File
[Unit]
|
|
Description=Test for CapabilityBoundingSet
|
|
|
|
[Service]
|
|
# sed: remove dropped capabilities (cap_xxx-[epi]) from the output
|
|
ExecStart=/bin/sh -x -c '! capsh --print | sed -r "s/[^ ]+?\-[epi]+//g" | grep "^Bounding set .*cap_chown"'
|
|
Type=oneshot
|
|
CapabilityBoundingSet=~CAP_CHOWN
|