[Bug 157378] HAL+NTFS-3g fails to automount ntfs drives

Fabian Lenz lenz_fabian at yahoo.de
Thu Sep 4 16:56:48 BST 2008


http://bugs.kde.org/show_bug.cgi?id=157378





--- Comment #13 from Fabian Lenz <lenz_fabian yahoo de>  2008-09-04 17:56:46 ---
My workaround is to apply two patches to HAL (0.5.11), but it's not a
*solution*, it's just a workaround.

--- hal-0.5.9/tools/hal-storage-mount.c.orig    2007-08-27 11:22:46.000000000
-0600
+++ hal-0.5.9/tools/hal-storage-mount.c 2008-01-13 08:22:48.000000000 -0700
@@ -765,13 +765,13 @@

        if (pol_is_fixed) {
                if (pol_change_uid) {
-                       action = NULL; /*
"hal-storage-mount-fixed-extra-options"; TODO: rethink */
+                       action = "hal-storage-mount-fixed-extra-options"; 
                } else {
                        action = "org.freedesktop.hal.storage.mount-fixed";
                }
        } else {
                if (pol_change_uid) {
-                       action = NULL; /*
"hal-storage-mount-removable-extra-options"; TODO: rethink "extra-options" */
+                       action = "hal-storage-mount-removable-extra-options";
                } else {
                        action = "org.freedesktop.hal.storage.mount-removable";
                }



--- fdi/policy/10osvendor/20-storage-methods.fdi.orig   2007-10-28
19:40:22.000000000 +0000
+++ fdi/policy/10osvendor/20-storage-methods.fdi        2007-10-28
19:40:58.000000000 +0000
@@ -240,6 +240,8 @@
          <append key="volume.mount.valid_options" type="strlist">uid=</append>
          <append key="volume.mount.valid_options" type="strlist">gid=</append>
          <append key="volume.mount.valid_options"
type="strlist">umask=</append>
+         <append key="volume.mount.valid_options"
type="strlist">dmask=</append>
+         <append key="volume.mount.valid_options"
type="strlist">fmask=</append>
          <append key="volume.mount.valid_options"
type="strlist">locale=</append>
          <append key="volume.mount.valid_options" type="strlist">utf8</append>
        </match>


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list