From c77e23e522998f725952da34b214ccea3c1a10d5 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 17 Mar 2019 14:05:43 +0000 Subject: Fix ownership of dummy root directory (mga#24501) systemd 240 introduces a new requirement that the root directory must be owned by root. --- lib/MGA/DrakISO/BuildRoot.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/MGA') diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm index fe248ba..b4078d9 100644 --- a/lib/MGA/DrakISO/BuildRoot.pm +++ b/lib/MGA/DrakISO/BuildRoot.pm @@ -76,6 +76,7 @@ sub install_live_system { run_as_root('rm', '-rf', $live_root); } mkdir_p($live_root); + run_as_root('chown', 'root.root', $live_root); my $Xserver_pid; my $error_message; -- cgit v1.2.1