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

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