summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 761a0ef..4b416c7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix ownership of dummy root directory (mga#24501)
+
1.10
- support generation of sha3-512 checksum
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;