bugfix: only set uid for eeze mounting of disks which are not native linux fstypes
T484
This commit is contained in:
parent
63a49e4dca
commit
e0df6b9095
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue