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:
parent
c610e456b9
commit
eed05e9a3b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user