HD Install :: Supermount for user



Hi,

I cannot force supermount to be used also by user.
The supermount is working only if I am root.
My etc/fstab looks like that:
Code Sample

[cut..]
/dev/fd0 /floppy supermount auto,user,fs=vfat,dev=/dev/fd0 0 0
/dev/cdrom /cdrom supermount auto,fs=iso9660,dev=/dev/cdrom 0 0
[cut...]

It should be like this:

[cut..]
none /floppy supermount dev=/dev/fd0,fs=vfat,--,auto,user,uid=1001,gid=50 0 0
none /cdrom supermount dev=/dev/cdrom,fs=iso9660,--,auto,user,uid=1001,gid=50 0 0
[cut...]

Basicly it's
none  <mount point> supermount <supermountoptions>,--,<normal-options> 0 0

It's ok for you take my time, I'm having a good time..
Suggest you read the supermount faq

Quote (curaga @ May 23 2007,13:05)
It should be like this:

[cut..]
none /floppy supermount dev=/dev/fd0,fs=vfat,--,auto,user,uid=1001,gid=50 0 0
none /cdrom supermount dev=/dev/cdrom,fs=iso9660,--,auto,user,uid=1001,gid=50 0 0
[cut...]

Basicly it's
none  <mount point> supermount <supermountoptions>,--,<normal-options> 0 0

It's ok for you take my time, I'm having a good time..
Suggest you read the supermount faq

Hi,

Thanx for the anwser...and well, I have read FAQ and not only that.
Anyway - I did as you say but now - even root can't "supermount"
To do that I have to:
Code Sample

#sudo mount /dev/cdrom /cdrom -t supermount -o /dev/cdrom,fs=iso9660


But as you can see it is not what we wanted

Okay. How about this:

none /floppy supermount auto,dev=/dev/fd0,fs=vfat,--,auto,user,uid=1001,gid=50 0 0
none /cdrom supermount auto,dev=/dev/cdrom,fs=iso9660,--,auto,user,uid=1001,gid=50 0 0

I just added "auto" to the start, maybe it'll work.. If it won't, try this too:

/dev/fd0 /floppy supermount auto,dev=/dev/fd0,fs=vfat,--,auto,user,uid=1001,gid=50 0 0
/dev/cdrom /cdrom supermount auto,dev=/dev/cdrom,fs=iso9660,--,auto,user,uid=1001,gid=50 0 0

The point of "none" was that some buggy software doesn't work (like fuse) with supermount.. But if you don't use fuse, the later is ok too..

Still nothing but I think it is not fstab fault! I checked lsmod and supermount is not loaded at all.
I pasted supermount in etc/modules and did depmod-a and update-modules but it did nothing.
When I do : modprobe supermount, the module is loaded but that is not remembered and after reboot supermount isn't loaded.
That's why fstab doesn't work and that is why it works only with:

#sudo mount /dev/cdrom /cdrom -t supermount -o /dev/cdrom,fs=iso9660

Next Page...
original here.