diff --git a/.github/workflows/package-snort.yml b/.github/workflows/package-snort.yml index 2c7ec86..0aaabe5 100644 --- a/.github/workflows/package-snort.yml +++ b/.github/workflows/package-snort.yml @@ -15,13 +15,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - - name: Set permissions for work directory - run: sudo mkdir -p /work && sudo chown -R $USER /work - run: sudo chmod -R 777 /work - - - name: Clean up work directory - run: sudo rm -rf /work/* - name: Install dependencies and build Snort run: | diff --git a/scripts/snort3.sh b/scripts/snort3.sh index 3c0de85..9010717 100644 --- a/scripts/snort3.sh +++ b/scripts/snort3.sh @@ -45,6 +45,8 @@ sudo mv ~/go/bin/protoc-gen-go-grpc /usr/local/bin/ # Create working directories WORK_DIR=/work sudo mkdir -p $WORK_DIR +sudo chmod 777 $WORK_DIR + # Install libdaq cd $WORK_DIR