Ensure that extracted addon files are owned by root

This commit is contained in:
Jan Schneider 2018-06-13 01:06:15 +02:00
parent c610e456b9
commit eed05e9a3b
1 changed files with 1 additions and 1 deletions

View File

@ -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