Author Topic: fuse problem  (Read 2019 times)

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: fuse problem
« Reply #15 on: May 04, 2010, 09:55:33 PM »
I downloaded fuse-2.7.4-5pclos2009.src.rpm, rebuilt it and got:
dkms-fuse-2.7.4-5pclos2010.i586.rpm
fuse-2.7.4-5pclos2010.i586.rpm
fuse-devel-2.7.4-5pclos2010.i586.rpm

Next I removed fuse-2.8.4-1pclos2010 and installed fuse-2.7.4-5pclos2010

But
rpm -Uhv dkms-fuse-2.7.4-5pclos2010.i586.rpm
gave :
dkms-fuse < 2.7.4-6 conflicts with kernel-2.6.32.11-pclos2.bfs-1-1pclos2010.i586

Is there src for dkms-fuse-2.7.4-6 or it is gridlock?
« Last Edit: May 05, 2010, 02:01:58 AM by pstranger »

wwwauthor

  • Guest
Re: fuse problem
« Reply #16 on: May 27, 2010, 12:30:57 AM »
quote reply:#13, Access: (0755/crwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

it should read: Access: (0666/crw-rw-rw-)  Uid: (    0/    root)   Gid: (  501/    fuse)

note Gid: (  501/    fuse) the 501 may differ on yours.

edit: 09:05:00 am next mornin.
-----------------------------------

1) fuse objects are executed outside the fuse container so /dev/fuse does not need exec privileges.
2) gruop id for /dev/fuse example 501, is a member of mysql.
3) you are a member of 501

so fuse-2.8.4-5pclos2010 works just fine.
« Last Edit: May 27, 2010, 07:16:24 AM by wwwauthor »

Offline roved2101

  • Jr. Member
  • **
  • Posts: 30
Re: fuse problem
« Reply #17 on: June 02, 2010, 06:11:37 PM »
Hello I am having the same problem with fuse-2.8.4-5pclos2010.i586.rpm.

The user is assigned to the fuse group but when using sshfs comes with failed to open /dev/fuse.

Quote
fuse: failed to open /dev/fuse: Permission denied

ls -dl /dev/fuse shows.

Quote
ls -dl /dev/fuse
crw------- 1 root root 10, 229 2010-06-03 09:15 /dev/fuse

So regardless if what changes I make by using chgrp fuse /dev/fuse it will not allow the user access to /dev/fuse.

Regards,

Rodger
Kernel: Linux 2.6.33.7-pclos4 KDE 4.5.1  Intel(R) Pentium(R) 4 CPU 3.40GHz@3400.000 MHz Mem  2072392 kBXInfo:  Screen #0: @ 1440x900 pixels (430x272 millimeters) /24 bit

Offline roved2101

  • Jr. Member
  • **
  • Posts: 30
Re: fuse problem
« Reply #18 on: June 03, 2010, 05:01:11 AM »
I have done further testing on three other machine and they all have

Quote
fuse: failed to open /dev/fuse: Permission denied

All the users have access to fuse group

I need to be able to use sshfs-fuse to mount remote filesystems.

Kernel: Linux 2.6.33.7-pclos4 KDE 4.5.1  Intel(R) Pentium(R) 4 CPU 3.40GHz@3400.000 MHz Mem  2072392 kBXInfo:  Screen #0: @ 1440x900 pixels (430x272 millimeters) /24 bit

wwwauthor

  • Guest
Re: fuse problem
« Reply #19 on: June 03, 2010, 06:11:12 PM »
lol I realize my earlier post was unclear...

Quote
quote reply:#13, Access: (0755/crwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
it should read: Access: (0666/crw-rw-rw-)  Uid: (    0/    root)   Gid: (  501/    fuse)

open a terminal and become root,
su - <enter>
chmod 0666 /dev/fuse <enter>
chown 0:501 /dev/fuse <enter>
exit <enter>

Offline roved2101

  • Jr. Member
  • **
  • Posts: 30
Re: fuse problem
« Reply #20 on: June 04, 2010, 08:10:48 AM »
This is only a temporary fix. Once the computer is rebooted the permissions are no longer set.

Is there a way to make to permission changes below permanent?

Quote
open a terminal and become root,
su - <enter>
chmod 0666 /dev/fuse <enter>
chown 0:501 /dev/fuse <enter>
exit <enter>
Kernel: Linux 2.6.33.7-pclos4 KDE 4.5.1  Intel(R) Pentium(R) 4 CPU 3.40GHz@3400.000 MHz Mem  2072392 kBXInfo:  Screen #0: @ 1440x900 pixels (430x272 millimeters) /24 bit

wwwauthor

  • Guest
Re: fuse problem
« Reply #21 on: June 04, 2010, 04:53:46 PM »
on mine it was permanent even after reboot.

I would seriously question what package is changing perms at boot.

a quick fix however and certainly not the best method.

su -
nano /etc/rc.local

#search for line with exit 0
#just above it enter
chmod 0666 /dev/fuse
chown 0:501 /dev/fuse

#save it and don't forget to exit su



Offline roved2101

  • Jr. Member
  • **
  • Posts: 30
Re: fuse problem
« Reply #22 on: June 05, 2010, 04:29:22 AM »
Thanks wwwauthor adding those changes to /etc/rc.local has solved the problem.


Thanks for your help.
Kernel: Linux 2.6.33.7-pclos4 KDE 4.5.1  Intel(R) Pentium(R) 4 CPU 3.40GHz@3400.000 MHz Mem  2072392 kBXInfo:  Screen #0: @ 1440x900 pixels (430x272 millimeters) /24 bit