[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: mount cdrom problem
- From: "Jeremy"<vector ezy net>
- To: Dom Bekarge <dbekarge netzero net>, "'redhat-install-list redhat com'" <redhat-install-list redhat com>
- Cc: redhat-install redhat com
- Subject: Re: mount cdrom problem
- Date: Mon, 4 Oct 1999 14:42:24 -500
Dom,
As I have never attempted mounting the cdrom as a user I didn't know what to
expect. I did the same as you and added "user" to the cdrom line in fstab:
/dev/cdrom /mnt/cdrom iso9660 user,exec,dev,suid,ro,noauto 0 0
I then attempted to mount the cdrom using what you used:
bash$ mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
mount: only root can do that
Hmmm...didn't seem to work. So I figured I would do some research.
bash$ man mount
..hmmm this looks interesting----
(iii) Normally, only the superuser can mount file systems. However, when fstab
contains the user option on a line, then anybody can mount the corresponding
system.
Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM using the
command
*****>>>> mount /dev/cdrom
or
mount /cd
For more details, see fstab(5). Only the user that mounted a filesystem
can unmount it again. If any user should be able to unmount, then use users
instead of user in the
fstab line.
I especially looked at the line "mount /dev/cdrom" or "mount /mnt/cdrom" in
my case either will work.
I attempted this:
bash$ mount /mnt/cdrom
bash$
bingo!!!!!
bash$ umount /mnt/cdrom
bash$
wow aren't man pages great. This should fix you up unless your system is way
different then mine (Intel/RH6.0). Let me know if you are still having problems.
Jeremy
>mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
>
>In a previous message, I indicated that this command
>succeeded as root, but not when signed in as plain user,
>named 'dbekarge', created via linuxconf utility.
>
>An error message appears that only root can mount the cdrom.
>
>Some correspondents to this email list suggested
>a check of directory and file permissions.
>
>The command
>
>ls -l
>
>of the / and /mnt directories showed that the file
>permissions were
>
>drwxr-xr-x
>
>for both of these directories.
>
>I double-checked my modification of the /etc/fstab file.
>The options for the cdrom line indeed are:
>
>user,noauto,ro
>
>Despite reading several HOWTO documents, and sections
>of some beginner's books, I still can't figure out how to mount
>the cdrom as a user.
>
>Dom Bekarge
><dbekarge netzero net>
>
>________________________________________________________
>NetZero - We believe in a FREE Internet. Shouldn't you?
>Get your FREE Internet Access and Email at
>http://www.netzero.net/download/index.html
>
>
>--
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.
>
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]