Bugzilla – Bug 835813
Fuse not writable by users
Last modified: 2013-09-22 13:38:09 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 Hi I cannot mount as a regular user using sshfs I get: fuse: failed to open /dev/fuse: Permission denied So, I have to do a chmod a+rw /dev/fuse :-( Reproducible: Always Steps to Reproduce: 1. Reboot 2. Try to use sshfs or other fuse util 3. Actual Results: Get a permission error Expected Results: Fuse operation should have been successful
/dev/fuse should be 666 /usr/lib/udev/rules.d/50-udev-default.rules:KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
*** Bug 835707 has been marked as a duplicate of this bug. ***
I see the same issue; surprisingly /dev/fuse is there without the kernel module being loaded. launching 'modprobe fuse' loads the module without error and also assigns the right permission (that seems to be when the udev rule from comment 1 is hit) So the question would probably be: why does fuse.ko not get loaded?
The permissions should be 0666 *before* the module is loaded, and then the module would be autoloaded and everything would work fine, as it does on 12.3. So to me it looks like something in udev. Guessing maintainer -> rmilasan?
FYI: I added a /etc/modules-load.d/fuse.conf (with content fuse) and upon reboot, the module gets loaded, but the permission remain 0600; so there is clearly something 'resetting' fuse permissions. http://lists.freedesktop.org/archives/systemd-devel/2013-July/012261.html
Upstream commit addressing it: http://cgit.freedesktop.org/systemd/systemd/commit/?id=ec99834cb0
(In reply to comment #6) > Upstream commit addressing it: > http://cgit.freedesktop.org/systemd/systemd/commit/?id=ec99834cb0 The few commits before that one are also needed (introducing --exclude-prefix for example)
Frederic, isn't the commit part of systemd?
(In reply to comment #8) > Frederic, isn't the commit part of systemd? yes, I'll do the backport..
I've submitted fixes in home:fcrozat:branches:Base:System / systemd Please test (once the packages are available)
(In reply to comment #10) > I've submitted fixes in home:fcrozat:branches:Base:System / systemd > > Please test (once the packages are available) Installed yiour fixed systemd packages, rebooted and mounted a sshfs without any issues... so this looks all right.
encfs - the issue is gone as well. Also GNOME now autoloads fuse. I see just after login to GNOME: oct:~ # lsmod | grep fuse fuse 95850 3
This is an autogenerated message for OBS integration: This bug (835813) was mentioned in https://build.opensuse.org/request/show/198722 Factory / systemd
This is an autogenerated message for OBS integration: This bug (835813) was mentioned in https://build.opensuse.org/request/show/198835 Factory / systemd https://build.opensuse.org/request/show/198848 Factory / systemd
This is an autogenerated message for OBS integration: This bug (835813) was mentioned in https://build.opensuse.org/request/show/198836 Factory / systemd
AS confirmed, the problem has been solved by Frederic and the fixed systemd version entered Factory.