summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/live-helpers2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 243256a..797cae1 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1458,6 +1458,8 @@ do_custom_mounts ()
cow_dir="/live/cow/${dest}"
fi
mkdir -p ${cow_dir}
+ chown --reference "${source}" "${cow_dir}"
+ chmod --reference "${source}" "${cow_dir}"
do_union ${dest} ${cow_dir} ${source} ${rofs_dest_backing}
fi