From 39872b5a52e54fb501208f0222574859b2754a8d Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sat, 16 Jun 2007 16:51:40 +0000 Subject: [PATCH] hmm- hal insists on mounting as root, not user. i wonder why. options to hal's mount method just end up failing. SVN revision: 30348 --- src/bin/e_fm_main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/e_fm_main.c b/src/bin/e_fm_main.c index e020354ef..2111bc2b2 100644 --- a/src/bin/e_fm_main.c +++ b/src/bin/e_fm_main.c @@ -712,6 +712,7 @@ e_volume_mount(E_Volume *v) static int mount_id = 1; char buf[4096]; char *mount_point; + Ecore_List *opt; if (v->mount_point && v->mount_point[0]) mount_point = v->mount_point; @@ -730,8 +731,12 @@ e_volume_mount(E_Volume *v) v->mount_point = strdup(mount_point); } printf("mount %s %s\n", v->udi, v->mount_point); +// FIXME; need to mount AS the USER - not root!!! seems it mounts as root +// opt = ecore_list_new(); +// ecore_list_append(opt, "user"); e_hal_device_volume_mount(_e_dbus_conn, v->udi, v->mount_point, v->fstype, NULL, _e_dbus_cb_vol_mounted, v); +// ecore_list_destroy(opt); } static void