Bug#473545: fuse-utils: /dev/fuse belongs to group root after reboot (udev)
On Mon, Oct 19, 2009 at 03:56:56PM +0200, Luca Capello wrote: I guess the problem is that everytime the system restarts, udev recreates the node, but does not change the ownership. The solution is to install the following udev rules file: --8---cut here---start-8--- KERNEL==fuse, GROUP=fuse --8---cut here---end---8--- With it, everything in postinst and initscript should be unnecessary, given the fact that udev will automatically change the group permission every time the fuse module is loaded. Unfortunately, this does not seem to work for me - I don't know why not. Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#473545: fuse-utils: /dev/fuse belongs to group root after reboot (udev)
Hi Julian! On Wed, 21 Oct 2009 11:03:33 +0200, Julian Gilbey wrote: On Mon, Oct 19, 2009 at 03:56:56PM +0200, Luca Capello wrote: I guess the problem is that everytime the system restarts, udev recreates the node, but does not change the ownership. The solution is to install the following udev rules file: --8---cut here---start-8--- KERNEL==fuse, GROUP=fuse --8---cut here---end---8--- With it, everything in postinst and initscript should be unnecessary, given the fact that udev will automatically change the group permission every time the fuse module is loaded. Unfortunately, this does not seem to work for me - I don't know why not. Have you stopped and restarted udev with the new rules file is in /etc/udev/rules.d/? Simply reloading udev does not work. Thx, bye, Gismo / Luca pgpzl9pkyr5mP.pgp Description: PGP signature
Bug#473545: fuse-utils: /dev/fuse belongs to group root after reboot (udev)
On Wed, Oct 21, 2009 at 04:50:36PM +0200, Luca Capello wrote: Hi Julian! --8---cut here---start-8--- KERNEL==fuse,GROUP=fuse --8---cut here---end---8--- Unfortunately, this does not seem to work for me - I don't know why not. Have you stopped and restarted udev with the new rules file is in /etc/udev/rules.d/? Simply reloading udev does not work. I even rebooted the machine :-( Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#473545: fuse-utils: /dev/fuse belongs to group root after reboot (udev)
On Thu, Oct 22, 2009 at 12:42:47AM +0100, Julian Gilbey wrote: On Wed, Oct 21, 2009 at 04:50:36PM +0200, Luca Capello wrote: Hi Julian! --8---cut here---start-8--- KERNEL==fuse, GROUP=fuse --8---cut here---end---8--- Unfortunately, this does not seem to work for me - I don't know why not. Have you stopped and restarted udev with the new rules file is in /etc/udev/rules.d/? Simply reloading udev does not work. I even rebooted the machine :-( Oops - don't know why, but I tried again and it now works. Probably user error on my part - so this solution does, indeed, appear to work. Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#473545: fuse-utils: /dev/fuse belongs to group root after reboot (udev)
found 473545 2.7.4-2 severity 473545 important tags 473545 + patch thanks Hi there! I remember that when I installed sshfs back in July the only thing I did was adding the normal user to group fuse and then everything worked like a charm. However, now that I needed it again, there is a permission error: = l...@gismo:~$ sshfs IP: ~/sshfs Enter passphrase for key '/home/luca/.ssh/id_rsa': fuse: failed to open /dev/fuse: Permission denied l...@gismo:~$ ls -l /dev/fuse crw-rw 1 root root 10, 229 2009-10-16 23:15 /dev/fuse l...@gismo:~$ = I guess the problem is that everytime the system restarts, udev recreates the node, but does not change the ownership. The solution is to install the following udev rules file: --8---cut here---start-8--- KERNEL==fuse, GROUP=fuse --8---cut here---end---8--- With it, everything in postinst and initscript should be unnecessary, given the fact that udev will automatically change the group permission every time the fuse module is loaded. Because the group fuse is not a standard group, the rule above can not be included in udev, which at first I thought was the correct place. BTW, the workaround in the initscript is in the wrong place: in *any* case (thus even when the module has already been loaded), group ownership should be checked. Finally, the severity is IMHO important since after the first reboot /dev/fuse is not available anymore for non-root (as group) users. Thx, bye, Gismo / Luca -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fuse-utils depends on: ii adduser 3.111 add and remove users and groups ii libc6 2.10.1-1 GNU C Library: Shared libraries ii libfuse2 2.7.4-2Filesystem in USErspace library ii makedev 2.3.1-89 creates device files in /dev ii sed 4.2.1-3The GNU sed stream editor ii udev 146-5 /dev/ and hotplug management daemo fuse-utils recommends no packages. fuse-utils suggests no packages. -- no debconf information pgpFzB0Fcfd1P.pgp Description: PGP signature