summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-capabilityboundingset-invert.service
blob: fd5d248702f43257ce963b8499b33bcd7ebab613 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test for CapabilityBoundingSet

[Service]
ExecStart=/bin/sh -x -c 'c=$$(capsh --print | grep "^Bounding set .*cap_chown"); test -z "$$c"'
Type=oneshot
CapabilityBoundingSet=~CAP_CHOWN