update-ids-ruleset: Set correct ownership for the rulestarball.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 1 May 2019 14:49:25 +0000 (16:49 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 1 May 2019 16:07:12 +0000 (18:07 +0200)
commit0034a92ad79d6c9853216602960c8ebe22d13b21
tree0964f9fc723185fec0a76aa6f49d54f61758f330
parent9cf253e150078852877f5ee530aeb3408fa4216b
update-ids-ruleset: Set correct ownership for the rulestarball.

The script usualy will be executed by cron which will start it with
root permissions, so the downloaded tarball is owned by this user.

This has to be changed to the user which runs the WUI (nobody:nobody) to
allow, changing the ruleset to an other one and to display the ruleset area.

Fixes #12066

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/scripts/update-ids-ruleset