Please, when you quote an error message, quote it exactly.  You can
capture a session with script, or redirect stdout and stderr to a
file with, say,
umount /cdrom &>oops
or so.

Because the mount/umount system call is privileged, for a user to mount
or umount a fs, the mount and umount commands must be suid, or he will
get an error like this:

umount: /dev/hdb: must be superuser to umount

if that is the problem, you can

chmod u+s /bin/umount

or so.

A user may specify _either_ a mount point _or_ a device that identifies
a line if fstab with the user option.  If you specify both, or lead it
to believe you are, it will think you are trying to override fstab, and
reply:

umount: only root can unmount /dev/hdb from /cdrom

I got that by saying "umount /dev/hdb /cdrom", curiously, cdrom was no
longer mounted after that.  I guess you could call that a bug. :-)

Lawson

          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.

On Tue, 1 Jun 1999, John Aldrich wrote:

> Ok... I've edited my fstab file to properly point to the cdrom as
/dev/hdc.
> I've set it up with the options "noauto, user, ro" Now, with my
"regular user"
> account, I can mount the cdrom, but I can't unmount it... it says "only
root
> can unmount the cdrom.
> What am I doing wrong?
> Thanks...
> 
>  --
>       John Aldrich
>       COL Tech Support
> 
> ==========================================
> Chattanooga Online Internet
>       267-8867
> 




___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to