Bug 27059 - gmc mounting/unmounting of devices succeeds, but pops up bogus warning dialogs
Summary: gmc mounting/unmounting of devices succeeds, but pops up bogus warning dialogs
Keywords:
Status: CLOSED DUPLICATE of bug 29791
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: magicdev
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-11 17:56 UTC by Ed McKenzie
Modified: 2007-04-18 16:31 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-02-27 04:27:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Ed McKenzie 2001-02-11 17:56:34 UTC
IMO, workstation-class installs should append the 'user' option to CD-ROM
and floppy devices in /etc/fstab. 'Workstation' tends to imply 'single
user,' and ideally that single user shouldn't be root.

Comment 1 Jeremy Katz 2001-02-11 22:12:26 UTC
Removable devices are given the 'owner' flag by default, allowing the user who
owns the device to mount it.  This coupled with pam_console chown'ing devices on
login should be sufficent for letting the user currently logged into the console
mount removable devices.

Comment 2 Ed McKenzie 2001-02-11 22:15:33 UTC
Then perhaps gmc should be patched so these devices work without 'user'? As it
is, gmc won't eject/mount/umount desktop devices as anyone but root.

Comment 3 Jeremy Katz 2001-02-11 22:23:44 UTC
Actually, gmc is mounting and unmounting the devices properly but not
interpreting the results of the mount properly... on mount, I get a warning
dialog box with gibberish or nothing and get similar warnings on unmount.
Reassigning to gmc and changing the subject to match the real problem

Comment 4 Glen Foster 2001-02-12 23:14:52 UTC
We (Red Hat) should really try to resolve this before next release.

Comment 5 Elliot Lee 2001-02-14 00:31:39 UTC
I don't see this bug. Can you provide detailed instructions on reproducing it?

Comment 6 Ed McKenzie 2001-02-14 05:27:27 UTC
This happens whenever I mount or unmount CD devices as a non-root user (haven't
tried it as root.) I get error dialogs with garbage, but the mount appears to
succeed anyway.

If it makes a difference, I do have two CD drives on this box.

Comment 7 Elliot Lee 2001-02-19 17:39:04 UTC
Like I said, works fine for me. I'm not really sure how to proceed without being
able to make it happen here.

Comment 8 Jeremy Katz 2001-02-27 04:27:23 UTC
I'm seeing this without fail on a fresh install of 20010226 rawhide with
gmc-4.5.51-25 and magicdev-0.3.0-4.  From looking at straces of both gmc and
magicdev, I don't think it's magicdev though (especially as I've only seen it on
manual mounts or double-click to open and mount).  Now for the really weird bit,
I've only gotten it to happen on the first login after removing all of my
.gnome* and .mc* directories.

The exact steps to reproducing were:
1) install
2) log in as non-root user (fresh account)
3) with floppy in drive, right click on floppy icon and click mount
   (alternately, double click for open)
4) see warning pop up
5) right click on floppy and select unmount device, see similar warning

Comment 9 Elliot Lee 2001-03-15 22:15:40 UTC

*** This bug has been marked as a duplicate of 29791 ***


Note You need to log in before you can comment on or make changes to this bug.