1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
systemd/test/exec-umask-default.service

7 lines
190 B
SYSTEMD
Raw Normal View History

[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