summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-umask-default.service
blob: b28023d8a9588e33a4b072de0fd0c000a0e8b075 (plain)
1
2
3
4
5
6
7
8
# SPDX-License-Identifier: LGPL-2.1-or-later
[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