]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/test-execute/exec-ambientcapabilities-nfsnobody.service
test-execute: use CAP_CHOWN instead of CAP_NET_ADMIN
[thirdparty/systemd.git] / test / test-execute / exec-ambientcapabilities-nfsnobody.service
index 614cfdd5849cc27822d521041b3eaf1353539b3b..9377ee16b2db22d1140f0bff0240cb39bcac470e 100644 (file)
@@ -2,7 +2,7 @@
 Description=Test for AmbientCapabilities
 
 [Service]
-ExecStart=/bin/sh -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000003000"'
+ExecStart=/bin/sh -x -c 'c=$$(grep "CapAmb:" /proc/self/status); test "$$c" = "CapAmb: 0000000000002001"'
 Type=oneshot
 User=nfsnobody
-AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW
+AmbientCapabilities=CAP_CHOWN CAP_NET_RAW