Le 23/12/2016 à 18:54, Nimrod a écrit :
This is the issue: on a computer at home (shared among relatives, each with his/her own account), the first user that logs in after boot locks the cdrom drive, and any other user that logs in can't eject the cdrom: only the first user can eject it.
I suspect that in order to eject the CD, you must first unmount its filesystem, but only the user who mounted it or root can unmount it if the CD drive has the "user" option in /etc/fstab. Try to replace "user" with "users" which allows any user to unmount it.