diff options
| author | chrislu <chris.lu@gmail.com> | 2025-08-31 09:19:42 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-08-31 09:19:42 -0700 |
| commit | 3adc06d66c7a7214f5cb80b5ef0e1ad3598b72b6 (patch) | |
| tree | 09410cc2ef2fef1935cc48079f839ad403fa2fc8 | |
| parent | 9bb2e8ae985e96af42b0337988f58ab74730dc4f (diff) | |
| download | seaweedfs-3adc06d66c7a7214f5cb80b5ef0e1ad3598b72b6.tar.xz seaweedfs-3adc06d66c7a7214f5cb80b5ef0e1ad3598b72b6.zip | |
add user fuse
| -rw-r--r-- | .github/workflows/posix-compliance.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/posix-compliance.yml b/.github/workflows/posix-compliance.yml index cb48460be..09e1622ab 100644 --- a/.github/workflows/posix-compliance.yml +++ b/.github/workflows/posix-compliance.yml @@ -85,10 +85,23 @@ jobs: - name: Set up user permissions for FUSE run: | + # Create fuse group if it doesn't exist + sudo groupadd -f fuse + + # Add user to fuse group sudo usermod -a -G fuse $USER + + # Set permissions on FUSE device sudo chmod 666 /dev/fuse + # Ensure fuse module is loaded sudo modprobe fuse || true + + # Verify setup + echo "FUSE setup verification:" + ls -la /dev/fuse + groups $USER | grep fuse || echo "User not in fuse group yet (will be effective after login)" + lsmod | grep fuse || echo "FUSE module not loaded" - name: Install external test tools if: ${{ github.event.inputs.enable_external_tests == 'true' }} |
