1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

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

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