[1/1] make sure the root filesystem is owned by root

Message ID 20190108110554.13673-1-list@eworm.de
State New
Headers show
Series
  • [1/1] make sure the root filesystem is owned by root
Related show

Commit Message

Christian Hesse Jan. 8, 2019, 11:05 a.m. UTC
From: Christian Hesse <mail@eworm.de>

Signed-off-by: Christian Hesse <mail@eworm.de>
---
 archiso/mkarchiso | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 4d4db50..72a6e32 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -217,6 +217,7 @@  _mkairootfs_img () {
     _mount_airootfs
     _msg_info "Copying '${work_dir}/airootfs/' to '${work_dir}/mnt/airootfs/'..."
     cp -aT "${work_dir}/airootfs/" "${work_dir}/mnt/airootfs/"
+    chown root:root "${work_dir}/mnt/airootfs/"
     _msg_info "Done!"
     _umount_airootfs
     mkdir -p "${work_dir}/iso/${install_dir}/${arch}"