Skip to content

Commit 336b93e

Browse files
committed
IntelMQ 3.2.1. Improvmenets to test.sh
1 parent 2438c10 commit 336b93e

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
build_version="3.2.0"
2+
build_version="3.2.1"
33
namespace="certat"
44

55
docker login

test.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,11 @@ docker run --rm -v $(pwd)/example_config/intelmq/etc/:/etc/intelmq/etc/ \
4343

4444
echo Removing AMQP container
4545
docker container kill $amq_id
46+
47+
# restore broke priviliges
48+
49+
for mounted_dir in example_config intelmq_logs intelmq_output intelmq_persistence;
50+
do
51+
echo "Restoring broken privelages to `whoami` for directory $mounted_dir"
52+
sudo chown -R `whoami`:`whoami` $(pwd)/$mounted_dir
53+
done

0 commit comments

Comments
 (0)