Bug 180024
Summary: | Permissions of /dev/fuse revert to 0600 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James <james> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | hakon.kippe, steve.traylen, wtogami, yeti |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-08 12:35:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
James
2006-02-04 21:00:11 UTC
This problem seems to be solved by (1) adding the line install fuse /sbin/modprobe --ignore-install fuse ; chmod 0660 /dev/fuse ; chgrp fuse /dev/fuse to /etc/modprobe.conf; (2) removing /etc/udev/makedev.d/40-fuse.nodes; and (3) creating an 0700 (or whatever) shell script /etc/sysconfig/modules/fuse.modules containing #!/bin/sh /sbin/modprobe fuse fuse should offer /etc/udev/rules.d/40-fuse.rules I didn't have to do anything special other than add my user to the fuse group, and fedora extras fuse package works fine without any /etc/udev/rules.d/40-fuse.rules file. This is with both FC4 and FC5 with extras fuse-*. OK, I'll try... I've removed all my modifications and replaced /etc/udev/makedev.d/40-fuse.nodes. (I've never removed /etc/udev/rules.d/40-fuse.rules.) Immediately after starting: [james@harmony ~]$ stat /dev/fuse File: `/dev/fuse' Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fh/15d Inode: 1731 Links: 1 Device type: a,e5 Access: (0660/crw-rw----) Uid: ( 0/ root) Gid: ( 105/ fuse) Access: 2006-02-09 10:05:29.964736250 +0000 Modify: 2006-02-09 10:05:29.964736250 +0000 Change: 2006-02-09 10:05:29.964736250 +0000 [james@harmony ~]$ sshfs molly: mnt/molly james@molly's password: It's now mounted OK. [james@harmony ~]$ fusermount -u mnt/molly [james@harmony ~]$ stat /dev/fuse File: `/dev/fuse' Size: 0 Blocks: 0 IO Block: 4096 character special file Device: fh/15d Inode: 1731 Links: 1 Device type: a,e5 Access: (0600/crw-------) Uid: ( 0/ root) Gid: ( 105/ fuse) Access: 2006-02-09 10:05:29.964736250 +0000 Modify: 2006-02-09 10:05:29.964736250 +0000 Change: 2006-02-09 10:09:01.000000000 +0000 [james@harmony ~]$ sshfs molly: mnt/molly james@molly's password: fusermount: failed to open /dev/fuse: Permission denied The fuse-* and udev rpms all verify OK. I'm beginning to think I've some misconfiguration error possibly from previous installations of fuse (done from sources at SF), but I can't think where. I read somewhere that the fuse module itself recreates /dev/fuse... I had the same problem (Fedora 20). Uninstalling and reinstalling fuse fixed it. I have the same problem in Fedora 20 on several machines after a relatively recent update. Current versions: fuse-2.9.3-2.fc20.x86_64 fuse-sshfs-2.4-5.fc20.x86_64 Even tried removing and installing fuse again (as suggested in comment 5) but it did not help. I may seeing this on CentOS 7 also. (In reply to Steve Traylen from comment #7) > I may seeing this on CentOS 7 also. please open a new bug against component "fuse" for this |