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:03:11 +0000 (18:03 +0200)
commit50b35e0f8f19d14182fa485430fc26c9c2738350
treed205a1dc7e3f34f8cc108efb0b6b04b05af6c3ee
parent20c7552e0d1453e90cd069a83c712ff29fb1cbc7
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