From 04649fce8ae85f6ea0fe9fd54a7ef9c12c6c7016 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 1 May 2024 18:55:18 +0200 Subject: [PATCH] base: Change ownership of skeleton files when copying them to the home folder --- base/etc/startup/mount-home.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/etc/startup/mount-home.sh b/base/etc/startup/mount-home.sh index 3ab852ce..472aa9bd 100644 --- a/base/etc/startup/mount-home.sh +++ b/base/etc/startup/mount-home.sh @@ -2,5 +2,9 @@ # Create and populate a volatile home directory. mount -t tmpfs tmpfs /home/selene chown selene:selene /home/selene + cp /etc/skel/welcome /home/selene/ cp /etc/skel/LICENSE /home/selene/ + +chown selene:selene /home/selene/welcome +chown selene:selene /home/selene/LICENSE