[NTLUG:Discuss] Can someone explain this

Kirk Schneider kschneid at castrovalva.org
Fri Oct 12 00:28:58 CDT 2007


Leroy,

Its a security feature, using the command "mount /dev/fd0 /media/floppy"
requires root, but using "mount /media/floppy" works if it has been setup
for users in /etc/fstab.

-- 
Kirk Schneider


-------- Original Message --------
Subject: [NTLUG:Discuss] Can someone explain this
Date: Fri, 12 Oct 2007 00:05:07 -0500
From: Leroy Tennison <leroy_tennison at prodigy.net>
Reply-To: leroy_tennison at prodigy.net,        NTLUG Discussion List <discuss at ntlug.org>
To: NTLUG Discussion List <discuss at ntlug.org>

I have the following line in /etc/fstab on CentOS 4.5:

/dev/fd0  /media/floppy  auto   users,rw,exec,noauto 0 0

Why is it that, if I try to "mount /dev/fd0 /media/floppy" as a regular
user, I get "only root can do that" but if I do "mount /media/floppy" it
works without complaint?



More information about the Discuss mailing list