aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/rhel-import-state
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/rhel-import-state')
-rwxr-xr-xsystemd/rhel-import-state2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/rhel-import-state b/systemd/rhel-import-state
index 9ac9c380..a3c429d0 100755
--- a/systemd/rhel-import-state
+++ b/systemd/rhel-import-state
@@ -3,7 +3,7 @@
# copy state into root
cd /run/initramfs/state
-find . -mindepth 1 -maxdepth 1 -exec cp -av -t / {} \;
+find . -mindepth 1 -maxdepth 1 -exec cp -v -t -R --preserve=mode,ownership,timestamps,links / {} \;
# run restorecon on the copied files
if [ -e /sys/fs/selinux/enforce -a -x /usr/sbin/restorecon ]; then