From 8f396bbe31ad5bd909a76f951e01523eb95603ca Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Thu, 9 Jun 2022 17:55:47 +0200 Subject: [PATCH] Improve aggregator integration test * Do chgrp and chmod not recursively as we have just created the directory and if taken as example the recursive chmod with the s bit will produce unwanted results on files. --- docs/scripts/testAggregator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/scripts/testAggregator.sh b/docs/scripts/testAggregator.sh index 1da909e..189bbc6 100755 --- a/docs/scripts/testAggregator.sh +++ b/docs/scripts/testAggregator.sh @@ -12,8 +12,8 @@ set -e # to exit if a command in the script fails # The same directory name used in the config-example file. sudo mkdir /var/csaf_aggregator -sudo chgrp -R www-data /var/csaf_aggregator -sudo chmod -R g+ws /var/csaf_aggregator +sudo chgrp www-data /var/csaf_aggregator +sudo chmod g+ws /var/csaf_aggregator cd ~/csaf_distribution/ sudo ./bin-linux-amd64/csaf_aggregator -c docs/examples/aggregator.toml