You are not logged in.

#1 2006-05-27 15:13:05

theD3viL
Member
Registered: 2005-11-27
Posts: 50

cdrom wont eject as user

Hi!


Iam using dbus, hal and gnome-volume-manager for automounting.


Everythink goes normal with usb, but when cdrom is automounted i cant eject it with normal user. I can eject it with root.


Iam in groups:

[matej@arch ~]$ groups matej
disk audio optical storage users

Please help me && tnx smile

Offline

#2 2006-05-27 15:17:59

oseb
Member
From: Busan, Korea
Registered: 2005-05-26
Posts: 31

Re: cdrom wont eject as user

i'm using eject.
try ... pacman -S eject

Offline

#3 2006-05-27 15:23:36

theD3viL
Member
Registered: 2005-11-27
Posts: 50

Re: cdrom wont eject as user

i did that..it gaves me an error:


umount: /media/disk is not in the fstab (and you are not root)
eject: unmount of `/media/disk' failed



I tell it..with root works, but not with normal user..

Offline

#4 2006-05-27 15:34:39

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: cdrom wont eject as user

does the /medis/disk line in fstab have the option 'user'?

paste your /etc/fstab...


I am a gated community.

Offline

#5 2006-05-27 15:35:43

theD3viL
Member
Registered: 2005-11-27
Posts: 50

Re: cdrom wont eject as user

i just wonder, if i need this line, couse when there is automounting you dont need fstab..isnt that right?

Offline

#6 2006-05-27 15:37:30

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: cdrom wont eject as user

Oh, I was just referring to the eject error.. I know nothing about automounting smile


I am a gated community.

Offline

#7 2006-05-27 15:38:39

theD3viL
Member
Registered: 2005-11-27
Posts: 50

Re: cdrom wont eject as user

i made this line, now works smile, but still dont know why is needed neutral



Edit: its not working if i plugin usb flash before cdrom (disk, disk-1 mount point) sad



Any other option?

Offline

#8 2006-05-28 08:50:34

theD3viL
Member
Registered: 2005-11-27
Posts: 50

Re: cdrom wont eject as user

anyone?  :oops:

Offline

#9 2006-05-28 10:39:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,031

Re: cdrom wont eject as user

try unmounting the cd BEFORE you use eject.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2006-05-28 11:08:11

theD3viL
Member
Registered: 2005-11-27
Posts: 50

Re: cdrom wont eject as user

i dont have that option in menu .. but there shouldnt be any problems if there is automounting  :shock:  :?

Offline

#11 2006-05-28 11:29:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,031

Re: cdrom wont eject as user

Automounting and autoUNmounting are 2 different things.
While some solutions (automount,submount) try to to do both, others only do automounting, NOT unmounting.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#12 2006-05-28 11:55:59

theD3viL
Member
Registered: 2005-11-27
Posts: 50

Re: cdrom wont eject as user

hm..okey, but when i add line in fstab for disk, and plugin usb first cdrom has /media/disk-1, so i cant eject it again smile..eh problems problems smile tnx anyway smile

Offline

Board footer

Powered by FluxBB