You are not logged in.

#1 2012-02-07 08:00:08

silverwind
Member
Registered: 2012-02-07
Posts: 12

[solved] fuseiso mounting as user: Transport endpoint is not connected

Hi, I'm stuck at trying to get fuseiso to mount images as a normal user.
It works fine as root, but I'd really like to fix this. Here are the details:

First, I modprobed the fuse module, and set up the mount point so I have full access prior to mounting:

silverwind@delta:/media$ ls -l
drwxrwxrwx 2 silverwind users   40 Feb  7 06:48 fuse

I then execute fuseiso to mount an image, the command finishes without any errors:

fuseiso image.mdf /media/fuse

Now, when accessing the mount point, I get this error:

silverwind@delta:/media$ ls -l /media/fuse
/bin/ls: cannot access /media/fuse: Transport endpoint is not connected

Even root cannot access it:

root@delta:~# ls -l /media/fuse
/bin/ls: cannot access /media/fuse: Permission denied

After some googling I read that the user should be in the fuse group, but this group doesn't exist in /etc/group, and manually adding it (and the user to it) didn't work either. I don't think that there is something wrong with my fuse installation itself, as other applications that use fuse work fine. Both fuse and fuseiso were installed through pacman.

Also, not sure if this is relevant here, but I'm using a custom kernel, with this config.

Last edited by silverwind (2012-02-07 10:33:27)

Offline

#2 2012-02-07 09:35:53

silverwind
Member
Registered: 2012-02-07
Posts: 12

Re: [solved] fuseiso mounting as user: Transport endpoint is not connected

Here are the entries that get added in /etc/mtab when mounting as user:

fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
fuseiso /media/fuse fuse.fuseiso rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0

User and Group IDs are correct according to /etc/passwd and /etc/groups, what else could be the cause here?

For reference, these are the working entries that get added when mounting as root (The mount point can only be read by root in this case):

fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
fuseiso /media/fuse fuse.fuseiso rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0

Offline

#3 2012-02-07 10:32:32

silverwind
Member
Registered: 2012-02-07
Posts: 12

Re: [solved] fuseiso mounting as user: Transport endpoint is not connected

After digging through the source of fuseiso, I found the cause for this:

fuseiso created ~/.mtab.fuseiso and that file wasn't readable by the user as i first ran it as root and my /root is symlinked to the /home/user. wink

Offline

Board footer

Powered by FluxBB