From eed05e9a3b3e48e753e33f5c203c2336e3e031d5 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 13 Jun 2018 01:06:15 +0200 Subject: [PATCH] Ensure that extracted addon files are owned by root --- addon/lib/rmupdate.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index acd19fc..d43f21e 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -1637,7 +1637,7 @@ proc ::rmupdate::install_addon {{addon_id ""} {download_url ""}} { file mkdir $tmp_dir cd $tmp_dir - exec /bin/tar xzvf "${archive_file}" + exec /bin/tar --no-same-owner xzvf "${archive_file}" write_log 3 "Running update_script" file attributes update_script -permissions 0755