LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2007, 08:13 AM   #1
miles83
LQ Newbie
 
Registered: Mar 2007
Distribution: Slamd64
Posts: 5

Rep: Reputation: 0
fusermount: mount failed: Operation not permitted


hi,
i have a strange error with fuse 2.6.3 on my slamd64 11.0 (with 2.6.16.29 and 2.6.20.1, modprobe fuse ok)

i get the tarball, and compile it as usual:
./configure
make
make install

but when i try the examples in the example directory of the tarball i get the error of the title:

fusermount: mount failed: Operation not permitted
(as a normal user and as root)

i check on fuse.sourceforge.net with no results,
the fuse device seems ok:

ls -l /dev/fuse
crw-rw-rw- 1 root root 10, 229 2007-03-07 15:32 /dev/fuse

ls -l /usr/local/bin/fusermount
-rwsr-xr-x 1 mylogin users 21992 2007-03-07 14:10 /usr/local/bin/fusermount*

and

which fusermount
/usr/local/bin/fusermount

i also try to compile with
./configure --enable-lib --enable-util --enable-example

any idea?

thanks to all
 
Old 03-07-2007, 09:27 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I found somewhere that fuse needs to be built with the very same compiler/version as that which was used to build the kernel. I can't remember for sure, but I think the symptom of not doing this was as you describe. I'm sorry I don't recall where I found this information, but I did find that for my combination of kernel (FC3) & fuse version (2.1), this seemed to be true.
Is your VFS mountpoint a valid directory?
--- rod.

Last edited by theNbomr; 03-07-2007 at 09:28 AM.
 
Old 03-07-2007, 09:49 AM   #3
Linc
LQ Newbie
 
Registered: Oct 2005
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Make sure you have the fuse module loaded. Check by doing a: "lsmod" to list your modules. If you don't have fuse in there, a "modprobe fuse" should get you going.
 
Old 03-07-2007, 10:16 AM   #4
miles83
LQ Newbie
 
Registered: Mar 2007
Distribution: Slamd64
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for the answers

now i have fuse directly inside the kernel (compiled not like module <M> but like <*>) but i'm sure that i had tried also with fuse compiled as a module with the same error

theNbomr what do you mean with:
Quote:
fuse needs to be built with the very same compiler/version as that which was used to build the kernel
i have compiled the kernel and fuse manually with the same version of gcc & co

any other idea?
 
Old 03-08-2007, 05:31 AM   #5
miles83
LQ Newbie
 
Registered: Mar 2007
Distribution: Slamd64
Posts: 5

Original Poster
Rep: Reputation: 0
hi,

i've finally won!!!

i try to do
make install
without the DESTDIR flag (i use DESTDIR to make a tgz package with makepkg)

and everything is ok!!!

can someone tell me where i was wrong?
these are the steps i did before:

Quote:
./configure
make make install DESTDIR=/some/where
cd /some/where
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
makepkg -l y -c n fuse-2.6.3-x86_64-1xx.tgz
thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HDIO_SET_DMA failed: Operation not permitted new.thing Slackware 21 09-15-2007 05:46 PM
HDIO_SET_DMA failed: Operation not permitted (???) Ellops Slackware 8 08-11-2006 06:00 PM
Samba: Operation not permitted--smbmnt failed andrewstr Linux - Networking 12 05-22-2004 09:30 AM
HDIO_SET_DMA failed: Operation not permitted acjt Linux - Hardware 4 05-02-2003 10:52 PM
HDIO_SET_DMA failed: Operation not permitted markus1982 Linux - General 2 10-28-2002 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration