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

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