Bug 186679

Summary: can we make mount of /media/IPOD optional?
Product: [Fedora] Fedora Reporter: Vince Worthington <vincew>
Component: halAssignee: John (J5) Palmieri <johnp>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: jkeck
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-25 16:20:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vince Worthington 2006-03-25 11:11:47 UTC
Description of problem:
In FC5, when attaching my IPOD Photo60 to the USB cable, it is automatically
mounted at /media/IPOD.  I find this pretty annoying because I already have a
udev rule and an autofs map entry to handle this much more intuitively
(following configuration guidelines for ipod-using applications such as gtkPod
which considerably pre-date FC5).

Furthermore, an unprivileged user cannot unmount the device:
umount: /media/IPOD is not in the fstab (and you are not root)

...although it allows me to attach it and (presumably) use it as a
non-privileged user.  I'm not sure I follow the logic in this.


Version-Release number of selected component (if applicable):
Fedora Core 5 (test 3 and forward)

How reproducible:
ALWAYS

Steps to Reproduce:
1. attach iPod
2. run 'mount'
3. try to unmount it without having to su or something
  
Actual results:
No dice.  I hate it when my OS tries to think for me.

Expected results:
The iPod is not mounted AT ALL when I plug it into the USB cable.

Additional info:
Giving it a special device name upon attachment is fine (and a udev rule is all
we need to accomplish that), but I'd really prefer to decide for myself when I
want the device to be MOUNTED.  Sort of like how other removable media is handled.

Comment 1 John (J5) Palmieri 2006-03-25 16:20:51 UTC
All removable media including your ipod should work the same.  If you don't want
automounting you can turn it off from the Prefrences|Removable Storage.  Not
allowing other unprivileged users to unmount is a security mesure. You can
unmount through nautilus or using the command gnome-unmount -d <device>. 
Actually with the iPod I belive you need to use gnome-eject.   

Comment 2 Vince Worthington 2006-03-26 00:40:40 UTC
Thanks, I'll look into it, although I use KDE.  Still, it can't be right that
the same non-privileged user that was allowed to mount the device cannot unmount
it.  (And again, it gets mounted just by plugging it into the cable).  I suspect
what is mounting it is not being run as the non-privileged user.

This behavior did not happen in FC4, up to and including the KDE 3.5.1 provided
in FC4.

I'll chase this down further and report back anything else I can find.


Thanks,
Vince