cannot mount cdrom as user after fc4 to fc5 yum upgrade

James Wilkinson fedora at aprilcottage.co.uk
Wed Aug 23 06:54:26 UTC 2006


Jim Cornette <fc-cornette at insight.rr.com> wrote: 
> I installed a system with the FC4 CDs that I had. Later I upgraded the system 
> to FC5 via yum upgrade. I cannot mount data CDs as a regular user. The disc 
> will mount if mounted using mount /dev/hdc /media/cdrecorder I can then view 
> and deal with the content of the CD as a user. Is there a package that is new 
> and might not be pulled in if one upgrades the installation via yum? I
> plan on releasing this computer into the hands of some regular desktop
> capable users.  With this problem though, the user would have to know
> root password and how to work at the command line. Hopefully there is
> some program that was not pulled in and it will mend all wounds.

David G. Miller wrote:
> Chances are the upgrade process just rewrote your /etc/fstab file.  Add the 
> keyword "user" or "managed" to the mount options column for the cdrecorder in 
> fstab.  It should look something like:
> 
> /dev/hdb                /media/cdrecorder       auto    
> pamconsole,exec,noauto,user 0 0
> 
> or
> 
> /dev/hdb                /media/cdrecorder       auto    
> pamconsole,exec,noauto,managed 0 0
> 
> I think managed relies on the automounter while "user" lets the user
> mount and the same user unmount the drive.  User the "users" mount
> option if you want to allow any user to unmount the drive even if they
> weren't the user who originally mounted it.  Hopefully, someone else
> will chime in with how "managed" really works.

Well normally in FC5, it doesn't. "managed" used to mean that fstab-sync
could add and remove stuff at will (for example, if the CD drive was
removed from the machine).

These days it should be a combination of HAL and gnome-mount that
handles removable devices, and they won't use /etc/fstab at all. So on a
new install (or on an upgrade using the DVD) there shouldn't be any
/dev/hdb line in /etc/fstab.

What does
rpm -V udev hal hal-gnome gnome-mount
return?

James.

-- 
New address: james  | It's fair enough for a surgeon to refuse to operate on
@aprilcottage.co.uk | someone who won't stop smoking: you've got to give the
                    | anaesthetist a chance to get in there.
                    |    -- "Jeremy Hardy Speaks to the Nation", BBC Radio 4




More information about the fedora-list mailing list