summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-umask-0177.service
blob: af9295888e222779e138201c5b4cd6f0f1509818 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test for UMask

[Service]
ExecStart=/bin/sh -c 'touch /tmp/test-exec-umask; s=$(stat -c %a /tmp/test-exec-umask); echo $s; exit $(test $s = "600")'
UMask=0177
PrivateTmp=yes