Mounting Floppy as user[fixed]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
joeham
Posts: 23
Joined: 24. Sep 2009, 03:04

Mounting Floppy as user[fixed]

Post by joeham »

When I am a regular user, the floppy icon will not mount a floppy disk. I get the message that only root can do that. My user is a member of the floppy group. How do I get the users in the floppy group to be able to mount the floppy?

Floppy mounting / unmounting works fine via the desktop icon if I am root.
Last edited by joeham on 24. Oct 2009, 16:10, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Mounting Floppy as user

Post by gapan »

Does this help?

http://www.linuxquestions.org/questions ... er-167200/

Sorry, I don't have any PCs with a floppy, so I can't actually help you more.
Image
Image
joeham
Posts: 23
Joined: 24. Sep 2009, 03:04

Re: Mounting Floppy as user

Post by joeham »

Yes it helped.

I changed fstab from:
dev/fd0 /mnt/floppy auto noauto,owner 0 0

to:

dev/fd0 /mnt/floppy auto noauto,users,rw,umask=00 0 0

I think this is "fixed".

this link really cleared it up for me:

http://www.tuxfiles.org/linuxhelp/fstab.html
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Mounting Floppy as user

Post by gapan »

From the mount man page:
users Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).
So I don't think it's a security risk. In any case if someone has physical access to your PC, mounting a floppy should be the least of your concerns.
Image
Image
.:B:.
Posts: 34
Joined: 7. Jun 2009, 16:58

Re: Mounting Floppy as user[fixed]

Post by .:B:. »

You could change it to 'user', 'users' means user A can umount a floppy mounted by user B.

Of course I think it's rather an improbable situation, but you never know :).
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Mounting Floppy as user[fixed]

Post by thenktor »

People still use floppy? :twisted: *scnr*
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Duncan_Idaho
Posts: 216
Joined: 19. Sep 2009, 01:43
Location: Sietch Tabr, Planet Arrakis

Re: Mounting Floppy as user[fixed]

Post by Duncan_Idaho »

thenktor wrote:People still use floppy? :twisted: *scnr*
I was thinking the same thing :lol:
joeham
Posts: 23
Joined: 24. Sep 2009, 03:04

Re: Mounting Floppy as user[fixed]

Post by joeham »

I still use paper as well.

My computers are very old and they like floppy disks.

BTW the users in the fstab is not a user name or group, it just means not root which is the default.
I discovered that after I did some research on fstab.

I am not sure what the utility of the floppy group is anymore since nobody seems to care.

Thanks for everybodys help.
.:B:.
Posts: 34
Joined: 7. Jun 2009, 16:58

Re: Mounting Floppy as user[fixed]

Post by .:B:. »

joeham wrote: BTW the users in the fstab is not a user name or group, it just means not root which is the default.
It means users can mount/umount devices. It has nothing to do with usernames or groups. You can try to drop in a username in fstab but it won't eat it.

The group is mostly legacy stuff I think. Udev and HAL have made most groups obsolete, all removable devices are thrown in /media nowadays.

Of course a different group means you can have users X and Y acces e.g. optical units but not the floppies, and vice versa. I don't think it's practical in a small home environment, but I can imagine it being useful on larger deployments.
Post Reply