1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-14 15:21:37 +03:00
systemd/test/exec-umask-0177.service

8 lines
193 B
SYSTEMD
Raw Normal View History

[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