1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

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.
This commit is contained in:
Bernhard Reiter 2022-06-09 17:55:47 +02:00
parent 6ec2131f5d
commit 8f396bbe31
No known key found for this signature in database
GPG key ID: 2B7BA3BF9BC3A554

View file

@ -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. # The same directory name used in the config-example file.
sudo mkdir /var/csaf_aggregator sudo mkdir /var/csaf_aggregator
sudo chgrp -R www-data /var/csaf_aggregator sudo chgrp www-data /var/csaf_aggregator
sudo chmod -R g+ws /var/csaf_aggregator sudo chmod g+ws /var/csaf_aggregator
cd ~/csaf_distribution/ cd ~/csaf_distribution/
sudo ./bin-linux-amd64/csaf_aggregator -c docs/examples/aggregator.toml sudo ./bin-linux-amd64/csaf_aggregator -c docs/examples/aggregator.toml