You are not logged in.
Pages: 1
Hi,
I was helping my sister with her new iPod nano (usb connection) and encountered a wierd problem.
I managed to mount it and use gtkpod and everything but somehow I can only eject it as root.
doing
eject /mnt/ipod
as user or as root doesn't work. The only thing that does work is
eject -s /mnt/ipod
as root only. if I try to do the same command as a regular user (though it has users and rw in fstab) I get this message :
eject: unable to eject, last error: Operation not permitted
On the other hand doing
eject /mnt/usb
for my disk on key works fine...
It's not a big problem, just annoying to switch to root for this, and also I can't automate it with gtkpod this way...
Anyone know why that may be?
Thanks,
Grey
Offline
Surely it's just a case of unmounting it, rather than ejecting it?
.oO Komodo Dave Oo.
Offline
Surely it's just a case of unmounting it, rather than ejecting it?
No, I do mean ejecting. When I unmount the iPod it still has the screen of "Do not disconnect" on the other hand after doing "eject" that screen disappears.
Offline
Komodo wrote:Surely it's just a case of unmounting it, rather than ejecting it?
No, I do mean ejecting. When I unmount the iPod it still has the screen of "Do not disconnect" on the other hand after doing "eject" that screen disappears.
I don't know what your problem is then; I didn't have the same issue when I used gtkpod.
I now use gnupod - I don't know if there's a gui frontend for it that you could try...
.oO Komodo Dave Oo.
Offline
How do you disconnect your ipod? When do you know it's safe to disconnect?
Do you use umount? do you remove the module?
Offline
gnupod updates the db etc, it doesn't mount/unmount the ipod for you, so i just manually mount and umount it.
.oO Komodo Dave Oo.
Offline
I have the same issue with my iPod, as do many others. Try setting the sticky bit on eject command so that non root users can use it. This is what I did; however, it is not the best thing to do for security.
A better way would be to add the user to group "disk". I am pretty sure this should fix the "eject" issue.
Kevin
Offline
Well, I removed the sticky bit and added myself to disk and it didn't work. I then notived that these devices belong to group "storage" . That is the group that you need to be in - I think.
I can't try it at the moment since I am adding a bunch of mp3 to my iPod :-)
Kev
Offline
Hummm, being in "storage" didn't work either. It would be nice to figure this out.
Kev
Offline
Is your ipod in /etc/fstab? AFAIK only root can mount/umount stuff not in /etc/fstab, so if not it's worth a shot (remember to set the "user" (all users can mount it, but only the one who mounted it can umount) or "users" (everyone can mount and umount it) option).
Offline
for user mounting look at hal dbus ivman pmount .....
Mr Green
Offline
Offline
jaboua, the ipod has the correct entry in fstab.
Generally, I find that unloading modules is a bit extreme. "eject" as non-root would be a much better option for removing the ipod.
I am at work now but I did some searching on google last night and I ended up on the kernel developers email list. It seems the getting eject to work as a non-root user is an issue with newer kernels and is listed as a bug.
Offline
Pages: 1