Red Hat Bugzilla – Bug 179445
who belongs to floppy group can't mount floppy
Last modified: 2007-11-30 17:07:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.12) Gecko/20050919 Firefox/1.0.7
Description of problem:
In the Red Hat Enterprise Linux Manuals you can read this :
The floppy Group
If, for whatever reason, console access is not appropriate for you and your non-root users are required access to your system's diskette drive, this can be done using the floppy group. Add the user(s) to the floppy group using the tool of your choice. For example, the gpasswd command can be used to add user fred to the floppy group:
gpasswd -a fred floppy
Now, user fred is able to access the system's diskette drive from the console.
It doesn't work : user fred is able to access system's diskette drive from the console just when :
=> he is the owner of the console and the owner option is in the /etc/fstab file for the /dev/fd0 device.
=> or the user option is in the /etc/fstab file for /dev/fd0 device
But if you just want that user fred is able to access system's diskette drive without be logued on the console, adding him to the floppy group won't change anything : he will not have the rights.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create a new user "toto" with redhat-config-user tool
2.add the user "toto" to the group "floppy"
3.edit the /etc/fstab file to change this line like this (no owner, no user option) :
/dev/fd0 /mnt/floppy auto noauto,kudzu 0 0
4.don't be logued as "toto" on the console
5.open an xterm via X server or via rlogin on the computer and type su - toto
6.put a diskette in the floppy
7. type mount /mnt/floppy
Actual Results: mount : only the user root can mount /dev/fd0 on /mnt/floppy
Expected Results: It should have no error, because "toto" users belongs to group "floppy"
For RHEL3 we are looking only for critical bugs, security flaws and performance
issues. If you still experience the following problem please contact our support.