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

Re: Mounting CD Rom



To make it available to *all* users, I think you have to set the protection
of the mount point so that all users can read that mount point.  E.g., if
the mount point is /cdrom, you would need protection of something like
r-xr-xr-x.  Accomplish that, as owner of /cdrom, by doing %chmod 555 /cdrom.
Note that the x allows you to cd down the directory tree.

Gary Billings


----- Original Message -----
From: John McKendry <jmckendry@attbi.com>
To: Tom Droege <tdroege2@earthlink.net>; <tass@listserv.wwa.com>
Sent: Saturday, March 02, 2002 11:57 AM
Subject: Re: Mounting CD Rom


> Tom Droege wrote:
> >
> > Can someone tell me how to mount a cdrom so that any user can get at it?
I
> > have figured out how to attach it to my particular user, but I would
like
> > to make it available to all users. Running Mandrake 8.1.  Supermount
does
> > not seem to work.  At least not the way I think it should.
> >
> Tom,
>
>  Behavior of 'mount' and 'umount' is governed by the entries in the file
> /etc/fstab. I have a Mandrake 8.1 system with this fstab entry for the
CD-ROM:
>
> /dev/hdb /mnt/cdrom auto
user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0
>
> and I can mount the CD while logged in as root, log out, log in as jfm (a
plain user
> account), and read the CD. Not only that, I can unmount the CD and mount
another one
> from the jfm account. (It surprises me that a user can unmount a CD that
was mounted by root,
> but that's what happens.) The keyword 'user' in the fstab entry makes it
possible for any user
> to mount and unmount the device.
>
>  Is that what you're asking?
>
> John
>
>