Skip to content

fuse: allow all users#1662

Closed
mishushakov wants to merge 6 commits intomainfrom
fuse-allow-all
Closed

fuse: allow all users#1662
mishushakov wants to merge 6 commits intomainfrom
fuse-allow-all

Conversation

@mishushakov
Copy link
Member

@mishushakov mishushakov commented Dec 30, 2025

Needed to allow non-root users to access /dev/fuse and mount volumes that can be read by other users.


Note

Medium Risk
Relaxes FUSE device permissions to world-writable (0666) and enables user_allow_other, which can widen privilege boundaries depending on what runs inside the image.

Overview
Updates the base provision.sh image setup to enable non-root FUSE usage by ensuring user_allow_other is present in /etc/fuse.conf, creating /dev/fuse during build if missing, and forcing permissive 0666 permissions via chmod plus a udev rule for runtime device creation.

Written by Cursor Bugbot for commit 109424a. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

cat <<EOF >/etc/udev/rules.d/99-fuse-permissions.rules
# Set permissions for FUSE device to allow non-root users
KERNEL=="fuse", MODE="0666"
EOF
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overly permissive FUSE device permissions

High Severity

Setting /dev/fuse to world-writable via chmod 666 and a udev rule MODE="0666" allows any unprivileged process to interact with FUSE, which can widen attack surface and enable unintended mounts or cross-user access beyond the intended “allow_other” use case.

Fix in Cursor Fix in Web

@mishushakov mishushakov closed this Feb 4, 2026
@mishushakov
Copy link
Member Author

Closed because I broke my worktree, reopened #1849

@ValentaTomas ValentaTomas deleted the fuse-allow-all branch February 18, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants