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

[Service]
ExecStart=/bin/sh -x -c 'rm /tmp/test-exec-umask; touch /tmp/test-exec-umask; mode=$$(stat -c %%a /tmp/test-exec-umask); test "$$mode" = "644"'
Type=oneshot
PrivateTmp=yes