systemd/test/exec-umask-default.service
2014-12-11 18:32:57 +01:00

7 lines
190 B
Desktop File

[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