adjust todo - working on fm_main - can't seem to get hal to mount removable

devices with uid=X (X == the users uid) so the user can modify their
removable devices.


SVN revision: 31188
This commit is contained in:
Carsten Haitzler 2007-08-05 23:30:40 +00:00
parent a9ad787fe2
commit 6372896d9d
2 changed files with 29 additions and 24 deletions

3
TODO
View File

@ -44,7 +44,8 @@ Some of the things (in very short form) that need to be done to E17...
* after creating a background with the bg config dialog, we need to be able
to change its properties (stretch, tile, center, etc...)
* fm2 removable devices seem to be mounted as root, not user, thus no write
* fm2 removable devices seem to be mounted as root, not user, thus no write -
why don't mount options work?
* fm2 theme needs to not suck
* fwin initial placement needs to be near icon that spawned the fwin
* fm2 custom icon view mode needs to have cleanup, align etc.

View File

@ -709,7 +709,7 @@ e_volume_mount(E_Volume *v)
static int mount_id = 1;
char buf[4096];
char *mount_point;
Ecore_List *opt;
Ecore_List *opt = NULL;
if (v->mount_point && v->mount_point[0])
mount_point = v->mount_point;
@ -730,9 +730,13 @@ e_volume_mount(E_Volume *v)
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");
// snprintf(buf, sizeof(buf), "uid=%i", (int)getuid());
//// hmmm - so how do these work?
// ecore_list_append(opt, buf);
//// ecore_list_append(opt, "user");
//// ecore_list_append(opt, "utf8");
e_hal_device_volume_mount(_e_dbus_conn, v->udi, v->mount_point,
v->fstype, NULL, _e_dbus_cb_vol_mounted, v);
v->fstype, opt, _e_dbus_cb_vol_mounted, v);
// ecore_list_destroy(opt);
}