Author Topic: fuse problem  (Read 2015 times)

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
fuse problem
« on: April 30, 2010, 01:00:40 AM »
In the previous fuse version it was being created group "fuse" during rpm installation (I mean fuse_2.7.3-2pclos2007_i586.rpm). To allow ordinary user to have access to /dev/fuse it was needed to add this user to "fuse" group.

Now (fuse-2.8.4-1pclos2010.i586.rpm) group "fuse" isn't being created.

How to make access to /dev/fuse for ordinary user?
Quote
fuse: failed to open /dev/fuse: Permission denied
« Last Edit: April 30, 2010, 02:48:30 AM by pstranger »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: fuse problem
« Reply #1 on: April 30, 2010, 02:08:19 AM »
Hi,

Did you update it ? There was a new version theses days. Else, how do you use it ? I mean, what task do you do with it ?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #2 on: April 30, 2010, 02:18:17 AM »
Sure.

#rpm -q fuse
fuse-2.8.1-1pclos2010

I want to use fusesmb.

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #3 on: April 30, 2010, 02:24:57 AM »
Scripts for fuse-2.7.4-5pclos2009.i586.rpm:

/usr/share/rpm-helper/add-group fuse $1 fuse
/usr/share/rpm-helper/add-service fuse $1 fuse

and nothing for fuse-2.8.4-1pclos2010.i586.rpm

Were they missed?

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #4 on: May 03, 2010, 10:07:55 PM »
PROBLEM:
- during fuse-*pclos2010.i586.rpm installation fuse doesn't start as service and
- group "fuse" is not created.

INFO:
I've read chengelog and there is no mention about significant changes in this packet.

Let's get file list 2.7-release:
rpm -qlp fuse-2.7.4-5pclos2009.i586.rpm >2.7.txt

and 2.8-release:
rpm -qlp fuse-2.8.4-1pclos2010.i586.rpm >2.8.txt

then compare them:
diff 2.7.txt 2.8.txt >fuse.diff

< /etc/rc.d/init.d/fuse
< /etc/udev/devices.d/99-fuse.nodes
< /etc/udev/rules.d/99-fuse.rules
< /lib/libfuse.so.2
< /lib/libfuse.so.2.7.4
< /lib/libulockmgr.so.1
< /lib/libulockmgr.so.1.0.1

So we can see that start script and libs are missed.
So fuse-2.8.1-1pclos2010 (which comes out-of-iso) and the newest updated fuse-2.8.4-1pclos2010 is broken and fuse doesn't work (and didn't work) in 2010.

SOLUTION:
It needs to downgrade fuse rpm or rebuild newest rpm in order to it have worked.
« Last Edit: May 03, 2010, 10:10:53 PM by pstranger »

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12512
Re: fuse problem
« Reply #5 on: May 03, 2010, 10:14:45 PM »
PROBLEM:
- during fuse-*pclos2010.i586.rpm installation fuse doesn't start as service and
- group "fuse" is not created.

INFO:
I've read chengelog and there is no mention about significant changes in this packet.

Let's get file list 2.7-release:
rpm -qlp fuse-2.7.4-5pclos2009.i586.rpm >2.7.txt

and 2.8-release:
rpm -qlp fuse-2.8.4-1pclos2010.i586.rpm >2.8.txt

then compare them:
diff 2.7.txt 2.8.txt >fuse.diff

< /etc/rc.d/init.d/fuse
< /etc/udev/devices.d/99-fuse.nodes
< /etc/udev/rules.d/99-fuse.rules
< /lib/libfuse.so.2
< /lib/libfuse.so.2.7.4
< /lib/libulockmgr.so.1
< /lib/libulockmgr.so.1.0.1

So we can see that start script and libs are missed
So fuse-2.8.1-1pclos2010 (which comes out-of-iso) and the newest updated fuse-2.8.4-1pclos2010 is broken and fuse doesn't work (and didn't work) in 2010.

SOLUTION:
It needs to downgrade fuse rpm or rebuild newest rpm in order to it works.


There is no service for fuse anymore. There are no more udev rules in /lib/udev or /etc/udev. Fuse kernel driver is loaded from /etc/modprobe.preload. fuse permissions and device is created by /etc/makedev.d/z-fuse.

Please explain why you think it does not work anymore with a real life example that someone can try to duplicate.

Thanks to everyone who donates. You keep the servers running.

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #6 on: May 03, 2010, 10:29:52 PM »
See the first post. The only solution to give access to "/dev/fuse" for ordinary user is to include him to fuse-group. There is no more such group.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: fuse problem
« Reply #7 on: May 03, 2010, 10:33:16 PM »
Quote
Please explain why you think it does not work anymore with a real life example that someone can try to duplicate.

Read the last post.  I can't duplicate your problem.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Online muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: fuse problem
« Reply #8 on: May 03, 2010, 10:43:18 PM »
running 2010 fully updated, "ls -dl /dev/fuse" command gives

crw-rw-rw- 1 root root 10, 229 2010-05-03 10:51 /dev/fuse

did you want to "execute" on the device?, thats the only thing my permissions say will give a "permission denied" error.  
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #9 on: May 03, 2010, 10:43:49 PM »
OK
$ fusesmb ~/net
fuse: failed to open /dev/fuse: Permission denied (or something like this)

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: fuse problem
« Reply #10 on: May 03, 2010, 10:58:26 PM »
OK, I'm listening:
Quote
[joe@localhost ~]$ fusesmb ~/net
bash: fusesmb: command not found
[joe@localhost ~]$ su
Password:
[root@localhost joe]# fusesmb ~/net
bash: fusesmb: command not found
[root@localhost joe]#

What package is this command a part of exactly?
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #11 on: May 03, 2010, 11:01:29 PM »
mkdir ~/net

fusesmb (0.8.7)

No need su command.
« Last Edit: May 03, 2010, 11:03:31 PM by pstranger »

Online muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: fuse problem
« Reply #12 on: May 03, 2010, 11:34:31 PM »
what does "stat /dev/fuse" give you?

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #13 on: May 03, 2010, 11:45:10 PM »
$ stat /dev/fuse
  File: `/dev/fuse'
  Size: 0            Blocks: 0          IO Block: 4096   (special file)
Device: 5h/5d   Inode: 3850        Links: 1     Device type: a,e5
Access: (0755/crwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2010-04-30 13:53:44.657970900 +0600
Modify: 2010-04-30 13:53:44.657970900 +0600
Change: 2010-04-30 13:53:44.657970900 +0600

Online muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: fuse problem
« Reply #14 on: May 04, 2010, 12:51:47 AM »

This is a character device and i think the only thing you can do with it is to read from it or write to it and your current permissions only allow root to write to it. Creating any group will not change this.

can someone else show what permissions they have, anybody can explain why we have two different permissions?

try to change your writing permissions and see if your problem will go away
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..