> > The other possibility if an entry in /etc/fstab that makes mounting
> > possible but not umounting (though I can't offhand think of a setting that
> > will do this).
> /devf/cdrom ro,noauto,user,exec 0 0
(I assume you mean ``/dev/cdrom /media/cdrom iso9660 ro,noauto,user,exec 0 0'')

The ``user'' option is fstab indicates that any user should be able to
mount the filesystem, but that only that user should be able to unmount
it.  (So if sos22 mounts it, spqr2 can't unmount it).  If you want the
more obvious behaviour, use option ``users'' rather than option
``user''.

The obvious thing to check is that the mounting user is being recorded
correctly in the mtab.  There should be something along the lines of
``user=sos22'' (or whatever your username is) in the /etc/mtab line
for /dev/cdrom.  If not, or if it specifies a different username,
you'll be allowed to mount, but not unmount.

In particular, making /etc/mtab a symlink to /proc/mounts will break
umounts from ordinary user accounts, but appart from that won't
be terribly visible.  If you have such a symlink, you should probably
``rm /etc/mtab; cp /proc/mounts /etc/mtab'' and then reboot.

Steven Smith,
[EMAIL PROTECTED]

Attachment: msg02368/pgp00000.pgp
Description: PGP signature

Reply via email to