[Bug 232235] New: Mounting external harddrive formatted by MacOS fails
https://bugzilla.novell.com/show_bug.cgi?id=232235 Summary: Mounting external harddrive formatted by MacOS fails Product: SUSE Linux 10.1 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: devmail@hispeed.ch QAContact: qa@suse.de I have an external harddisk which is formatted with HFS+ by MacOS X. Plugging it in to my computer under openSUSE 10.1 worked fine, in KDE a Konqueror window appeared which shows the root folder of the disk, and in the Services pane, under Storage Media, I can see the disk and its folders. Reading from and writing to the disk also worked flawlessly. Under openSUSE 10.2, something goes wrong when the disk is plugged in. The system appears to recognize the hardware, but the drive is not mounted, hence KDE is not able to display the drive contents. However, the drive is listed under Storage Media in the Services pane, but any attempt to view its contents fails. A workaround is to manually mount the partition which Konqueror tries to show - any mount point will do. As soon as this is done, I can access the drive as usual. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 devmail@hispeed.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Basesystem Product|SUSE Linux 10.1 |openSUSE 10.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 ------- Comment #1 from devmail@hispeed.ch 2007-01-05 11:50 MST ------- Created an attachment (id=111675) --> (https://bugzilla.novell.com/attachment.cgi?id=111675&action=view) Error message reported by Konqueror -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 ------- Comment #2 from devmail@hispeed.ch 2007-01-05 11:52 MST ------- Created an attachment (id=111676) --> (https://bugzilla.novell.com/attachment.cgi?id=111676&action=view) Relevant output in log files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com | Component|Basesystem |KDE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |devmail@hispeed.ch ------- Comment #3 from coolo@novell.com 2007-01-10 04:48 MST ------- hmm, what mount options are given by means of the Properties tab in sysinfo:/ ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 devmail@hispeed.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|devmail@hispeed.ch | ------- Comment #4 from devmail@hispeed.ch 2007-01-12 14:35 MST ------- Created an attachment (id=112795) --> (https://bugzilla.novell.com/attachment.cgi?id=112795&action=view) Mount options, as given by sysinfo:/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 ------- Comment #5 from devmail@hispeed.ch 2007-01-12 14:53 MST ------- Disabling the "Mount as user" option (which by default is enabled) from the mount options specified by the Properties tab in sysinfo:/ solves the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |coolo@novell.com ------- Comment #6 from wstephenson@novell.com 2007-01-25 10:16 MST ------- Can we do this by default for HFS volumes? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |devmail@hispeed.ch ------- Comment #7 from coolo@novell.com 2007-01-26 02:50 MST ------- are you saying mount -o uid=1000 won't work with your HFS+? What's the error? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 devmail@hispeed.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|devmail@hispeed.ch | ------- Comment #8 from devmail@hispeed.ch 2007-01-29 12:53 MST ------- mount -o uid=1000 works fine when executed on a root command line. As described in the original bug report, a workaround is to perform the actual mounting manually after receiving the error. In fact, even if I switch off the "Mount as user" option, the drive still gets mounted with uid=1000, as reported in the system log: Jan 29 20:48:43 blackbox hald: mounted /dev/sdc3 on behalf of uid 1000 Also, looking inside /media/.hal-mtab gives me: /dev/sdc3 1000 0 hfsplus nosuid,nodev,sync /media/GOLDENSTAR I don't think the actual mounting is the problem, it's some other action performed by hald, e.g. creating the mount directory in the /media folder. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #9 from coolo@novell.com 2007-04-24 04:43 MST ------- there is no uid= option in .hal-mtab - the "on behalf of uid 1000" is just that uid 1000 triggered the mount. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|coolo@novell.com |dkukawka@novell.com Status|ASSIGNED |NEW Component|KDE |Hotplug ------- Comment #10 from coolo@novell.com 2007-04-24 05:09 MST ------- The uid= option is forbidden by PolicyKit's mount-all-options. But uid= is a valid mount option according to lshal -> I bring the hardware :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |coolo@novell.com ------- Comment #11 from dkukawka@novell.com 2007-04-24 05:26 MST ------- HAL only allow for these filesystems to use 'udi=' option with policy hal-storage-removable-mount: --------------------- /* don't consider uid= on vfat, iso9660, udf change-uid for the purpose of * policy (since these doesn't contain uid/gid bits) */ if (strcmp (libhal_volume_get_fstype (volume), "vfat") != 0 && strcmp (libhal_volume_get_fstype (volume), "iso9660") != 0 && strcmp (libhal_volume_get_fstype (volume), "ntfs") != 0 && strcmp (libhal_volume_get_fstype (volume), "udf") != 0) { pol_change_uid = wants_to_change_uid; --------------------- The question is: is there any security risk to use 'udi=' also on other filesystems as hfs in this case? @coolo: why try KDE to mount hfs with udi= and not for e.g. ext2/3 ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|coolo@novell.com | ------- Comment #12 from coolo@novell.com 2007-04-24 06:01 MST ------- 20-storage-methods.fdi only adds them for a couple of file systems. For ext2 it won't be in the valid_mount_options -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |devmail@hispeed.ch ------- Comment #13 from dkukawka@novell.com 2007-04-24 06:36 MST ------- @Markus: is there anything to be said against it to allow 'uid=' on hfs and all other filesystems on removable media from the security point of view? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|devmail@hispeed.ch |meissner@novell.com ------- Comment #14 from dkukawka@novell.com 2007-04-24 06:39 MST ------- @Markus: see comment #13 and #11 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |security-team@suse.de, meissner@novell.com Status|NEEDINFO |NEW Info Provider|meissner@novell.com | ------- Comment #15 from meissner@novell.com 2007-04-24 06:48 MST ------- Allowing uid= and gid= for hfs should be fine, since it has no own UID/GID abstraction as far as I can see. So: OK by me. I am not sure we want to do this for _all_ filesystem types on all removable media, especially for the ones that have their own uids and gids. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 ------- Comment #16 from lnussel@novell.com 2007-04-24 06:58 MST ------- personally I'd like to see it for all filesystems. Filesystems like ext2 which do store uids unfortunately refuse that option though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |meissner@novell.com ------- Comment #17 from dkukawka@novell.com 2007-05-08 05:50 MST ------- (In reply to comment #15)
Allowing uid= and gid= for hfs should be fine, since it has no own UID/GID abstraction as far as I can see. So: OK by me.
and hfsplus ? also okay to allow uid=/gid= ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 ------- Comment #18 from dkukawka@novell.com 2007-05-08 06:03 MST ------- Created an attachment (id=138213) --> (https://bugzilla.novell.com/attachment.cgi?id=138213&action=view) fix for uid=/gid= against hal from 10.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|meissner@novell.com | ------- Comment #19 from meissner@novell.com 2007-05-08 06:26 MST ------- fine for hfsplus too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |meissner@novell.com ------- Comment #20 from dkukawka@novell.com 2007-05-08 11:19 MST ------- @markus: I have send the patch to the HAL ML and someone say hfsplus has a UID/GID abstraction. What is now correct? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|meissner@novell.com | ------- Comment #21 from meissner@novell.com 2007-05-09 05:07 MST ------- hfsplus has uid support per file ... I somehow missed this. If upstream does not like it ... leave it out. ... I don't care much, see Ludwigs comment too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #22 from dkukawka@novell.com 2007-05-14 10:19 MST ------- part of submitted update for 10.2 (SWAMPID 9851) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232235 ------- Comment #23 from ast@novell.com 2007-06-06 07:16 MST ------- released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com