You are not logged in.
i'm sorry if this question has been asked already, i'm new to this forum.
i just decided to give Thunar Volume Manager (auto-mount and auto-umount daemon) a try, and that's when the problem arose.
it invokes "eject" when i press the button on the disk tray, and then an error message appears.
i went to a terminal and tried to execute the command, and the command failed:
$ eject /dev/dvd
eject: unable to open `/dev/sr0'
of course this worked quite well:
$ sudo chmod 777 /dev/sr0
after doing so, i could eject a still mounted dvd with both methods (1: pressing the eject button, 2: invoking the eject command).
but the thing is, after another dvd is inserted, the permissions are reset to 660 (or whatever, i mean rw-rw----), so i have to do it everytime, but obviously i don't want to.
could anybody suggest what i should do to solve the problem?
thanks!
Last edited by kiruch (2009-07-01 12:40:39)
Offline
add your user to group "optical"
gpasswd -a kiruch optical
Offline
hmm... it made "eject /dev/dvd" work just fine, but Thunar daemon still refuses to eject disks.
thanks for helping on this exact subject, djgera!
now i started another thread, because it's basically another problem and has nothing to dowith "eject" command now
Offline