Red Hat Bugzilla – Bug 9079
user permissions on unmount of cd
Last modified: 2008-05-01 11:37:54 EDT
Currently, ejecting/unmounting a cd may/may not work for a given KDE
session for cds mounted by another user in a previous KDE session on a
login as user1 (startx w/kde) ...
mount a cd ...
logout leaving cd mounted...
login as user2 (startx w/kde) ...
try to eject cd ...
Error: only user1 can unmount /dev/cdrom ...
What should we do about this? Cause autorun to automatically unmount things
when it quits? Do you know how magicdev handles this?
we can't fix this easily at all.
When the first user logs out the device should revert to normal ownersips
(pam_console) and when the second user logs in they should own the device. Why
can't mount be told to check the permissions of the device (rather than the
user=string), therefore letting user2 unmount the cd?