[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: allow mount to normal use



"Orn E. Hansen" <oe.hansen@oehansen.pp.se> writes:

>  it is often convenient to make a link from /dev/cdrom  to whatever
> device your CD-ROM is on.  Thus, if you add devices, or change your
> configuration, you only have to change one link, instead of every
> program that uses the CD-ROM ;-)

But unfortunately, when mount is invoked on an entry with the "user"
flag, if makes sure the mounted device matches.  Since it follows the
symlink when mounting, and /dev/hdd != /dev/cdrom, a user can
"mount /cdrom" but not "umount /cdrom".

-- 
    Carey Evans  <*>  http://home.clear.net.nz/pages/c.evans/  gc

     "Trust Ivanova.  Trust yourself.  Anybody else - shoot 'em."


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: