github actions: fix allow_other failure

Jobs currently fail like this:

/usr/bin/fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
fs.Mount failed: fusermount exited with code 256
--- FAIL: TestForceOwner (0.05s)
    main_test.go:438: mount failed: exit status 19
FAIL
FAIL	github.com/rfjakob/gocryptfs/v2/tests/defaults	1.584s
This commit is contained in:
Jakob Unterwurzacher 2021-10-15 21:59:12 +02:00
parent 8ec872e330
commit b0bddc5ed0

View File

@ -36,6 +36,9 @@ jobs:
# CI platform specific setup steps happen here
- run: sudo apt-get install -qq fuse3 libssl-dev
# Fix "/usr/bin/fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf"
- run: echo user_allow_other | sudo tee -a /etc/fuse.conf
# Build & upload static binary
- run: ./build-without-openssl.bash
- uses: actions/upload-artifact@v2