systemd/test/test-execute/exec-privatedevices-yes-capability-mknod.service
2016-09-25 13:04:30 +02:00

8 lines
170 B
Desktop File

[Unit]
Description=Test CAP_MKNOD capability for PrivateDevices=yes
[Service]
PrivateDevices=yes
ExecStart=/bin/sh -x -c '! capsh --print | grep cap_mknod'
Type=oneshot