summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-31 14:11:42 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-31 14:12:11 -0500
commitdc7d37102fe4b89827f6569ee8fda43043d2bec7 (patch)
tree8bfbdfebcc6ac02726fa293c2671465924918310
parent0aca731068f27ec84861e2035f1617670c504df5 (diff)
bugfix: only set uid for eeze mounting of disks which are not native linux fstypes
T484
-rw-r--r--src/bin/e_fm/e_fm_main_eeze.c6
1 files 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 4114089af..30b11b2bf 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)
545 545
546 if (v->fstype) 546 if (v->fstype)
547 { 547 {
548 if ((!strcmp(v->fstype, "vfat")) || 548 if ((!strstr(v->fstype, "fat")) ||
549 (!strcmp(v->fstype, "ntfs")) || 549 (!strcmp(v->fstype, "ntfs")) ||
550 (!strcmp(v->fstype, "iso9660")) || 550 (!strcmp(v->fstype, "iso9660")) ||
551 (!strcmp(v->fstype, "jfs"))) 551 (!strcmp(v->fstype, "jfs")))
552 { 552 {
553 opts |= EEZE_DISK_MOUNTOPT_UTF8; 553 opts |= EEZE_DISK_MOUNTOPT_UTF8 | EEZE_DISK_MOUNTOPT_UID;
554 } 554 }
555 } 555 }
556 opts |= EEZE_DISK_MOUNTOPT_UID | EEZE_DISK_MOUNTOPT_NOSUID | EEZE_DISK_MOUNTOPT_NODEV | EEZE_DISK_MOUNTOPT_NOEXEC; 556 opts |= EEZE_DISK_MOUNTOPT_NOSUID | EEZE_DISK_MOUNTOPT_NODEV | EEZE_DISK_MOUNTOPT_NOEXEC;
557 557
558 _e_fm_main_eeze_mount_point_set(v); 558 _e_fm_main_eeze_mount_point_set(v);
559 if (!v->mount_point) goto error; 559 if (!v->mount_point) goto error;