aboutsummaryrefslogtreecommitdiff
path: root/scripts/rootfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rootfs.sh')
-rwxr-xr-xscripts/rootfs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rootfs.sh b/scripts/rootfs.sh
index 377122b..000beda 100755
--- a/scripts/rootfs.sh
+++ b/scripts/rootfs.sh
@@ -56,8 +56,10 @@ rootfs_copy() {
echo " from $k to $FILES[$k]"
if [ -f $k ]; then
cp $k $FILES[$k]
+ chown root:root $FILES[$k]
elif [ -d $k ]; then
cp -r $k $FILES[$k]
+ chown -R root:root $FILES[$k]
fi
done
}