discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e0df6b909513c4dd8a3339af3680b5e6e977e9bf

commit e0df6b909513c4dd8a3339af3680b5e6e977e9bf
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Tue Dec 31 14:11:42 2013 -0500

    bugfix: only set uid for eeze mounting of disks which are not native linux 
fstypes
    
    T484
---
 src/bin/e_fm/e_fm_main_eeze.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_fm/e_fm_main_eeze.c b/src/bin/e_fm/e_fm_main_eeze.c
index 4114089..30b11b2 100644
--- a/src/bin/e_fm/e_fm_main_eeze.c
+++ b/src/bin/e_fm/e_fm_main_eeze.c
@@ -545,15 +545,15 @@ _e_fm_main_eeze_volume_mount(E_Volume *v)
 
    if (v->fstype)
      {
-        if ((!strcmp(v->fstype, "vfat")) ||
+        if ((!strstr(v->fstype, "fat")) ||
             (!strcmp(v->fstype, "ntfs")) ||
             (!strcmp(v->fstype, "iso9660")) ||
             (!strcmp(v->fstype, "jfs")))
           {
-             opts |= EEZE_DISK_MOUNTOPT_UTF8;
+             opts |= EEZE_DISK_MOUNTOPT_UTF8 | EEZE_DISK_MOUNTOPT_UID;
           }
      }
-   opts |= EEZE_DISK_MOUNTOPT_UID | EEZE_DISK_MOUNTOPT_NOSUID | 
EEZE_DISK_MOUNTOPT_NODEV | EEZE_DISK_MOUNTOPT_NOEXEC;
+   opts |= EEZE_DISK_MOUNTOPT_NOSUID | EEZE_DISK_MOUNTOPT_NODEV | 
EEZE_DISK_MOUNTOPT_NOEXEC;
 
    _e_fm_main_eeze_mount_point_set(v);
    if (!v->mount_point) goto error;

-- 


Reply via email to