Last visit was: It is currently 4. Sep 2010, 03:45


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Mounting Floppy as user[fixed]
PostPosted: 24. Oct 2009, 04:26 

Joined: 24. Sep 2009, 03:04
Posts: 20
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.

Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user
PostPosted: 24. Oct 2009, 09:26 
Salix Wizard
User avatar

Joined: 6. Jun 2009, 17:40
Posts: 1377
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


Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user
PostPosted: 24. Oct 2009, 15:56 

Joined: 24. Sep 2009, 03:04
Posts: 20
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


Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user
PostPosted: 24. Oct 2009, 16:09 
Salix Wizard
User avatar

Joined: 6. Jun 2009, 17:40
Posts: 1377
From the mount man page:
Quote:
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


Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user[fixed]
PostPosted: 24. Oct 2009, 19:48 

Joined: 7. Jun 2009, 16:58
Posts: 34
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 :).


Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user[fixed]
PostPosted: 24. Oct 2009, 22:32 
Salix Wizard
User avatar

Joined: 6. Jun 2009, 14:47
Posts: 1183
Location: Franconia
People still use floppy? :twisted: *scnr*

_________________
Image
burnCDDA (burns M3U playlists in a terminal)
last.fm (my last.fm profile)


Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user[fixed]
PostPosted: 25. Oct 2009, 02:50 
User avatar

Joined: 19. Sep 2009, 01:43
Posts: 96
Location: Sietch Tabr, Arrakis
thenktor wrote:
People still use floppy? :twisted: *scnr*


I was thinking the same thing :lol:


Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user[fixed]
PostPosted: 25. Oct 2009, 03:11 

Joined: 24. Sep 2009, 03:04
Posts: 20
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.


Top
Offline Profile  
 
 Post subject: Re: Mounting Floppy as user[fixed]
PostPosted: 25. Oct 2009, 20:35 

Joined: 7. Jun 2009, 16:58
Posts: 34
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.


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net & kodeki