mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
mkosi: Fix up ownership of testuser home directory on first boot
When building unprivileged, the testuser home directory ends up owned by root:root because mkosi can't chown directories to other owners when running unprivileged. So let's fix up the testuser ownership on first boot with tmpfiles instead.
This commit is contained in:
parent
40fadab195
commit
0d0ecaab00
3
mkosi.extra/usr/lib/tmpfiles.d/testuser.conf
Normal file
3
mkosi.extra/usr/lib/tmpfiles.d/testuser.conf
Normal file
@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
z! /home/testuser 700 testuser testuser
|
Loading…
Reference in New Issue
Block a user