summaryrefslogtreecommitdiffstats
path: root/server/export_target
diff options
context:
space:
mode:
Diffstat (limited to 'server/export_target')
-rwxr-xr-xserver/export_target2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/export_target b/server/export_target
index 52f87942..4dbf2aae 100755
--- a/server/export_target
+++ b/server/export_target
@@ -128,7 +128,7 @@ generate_config() {
done
# no conflict, add file to archive
- tar cf "${TARGET_CONFIG_BUILD_DIR}/${MODULE_CONFIG}.tar" $(ls)
+ tar --owner=root --group=root -c -f "${TARGET_CONFIG_BUILD_DIR}/${MODULE_CONFIG}.tar" $(ls)
RET=$?
[ "x$RET" != "x0" ] && perror "\tCould not create '${TARGET_CONFIG_BUILD_DIR}/${MODULE_CONFIG}.tar'"
done