Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm_main.c 


Log Message:


hmm- hal insists on mounting as root, not user. i wonder why. options to
hal's mount method just end up failing.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_main.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_fm_main.c 16 Jun 2007 16:18:45 -0000      1.20
+++ e_fm_main.c 16 Jun 2007 16:51:40 -0000      1.21
@@ -712,6 +712,7 @@
    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 @@
        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



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to