1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-18 10:04:04 +03:00
systemd/test/test-execute/exec-umask-default.service
Yu Watanabe b7172f3471 test-execute: also tests under the condition that unshare() is filtered
This is mainly for testing 1beab8b0d0ff2d7d1436b52d4a0c3d56dc908962.
2018-10-03 08:33:23 +02:00

8 lines
225 B
Desktop File

[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