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:
parent
6ec2131f5d
commit
8f396bbe31
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue