[Android Software Development] e154037:
Bug Report from e154037

---symptom:

My experience with FolderMount is not so great as many reported:

It never work on my ASUS TF101 in JB4.2.2 (EOS4). I tried two versions (v1.7.2 and v2.0.5) without a success. I tried to make a link with source= /storage/emulated/0/testd and destination=/storage/sdcard1/tested, FolderMount allow me to define and activate the link, and the link is visible in my file explorer but the files and folders inside cannot be accessed unless I turn on the "Root" setting in the explorer. And in the notification area, I see the following message from FolderMount:

Error.extSdCard permission

Problem fixing external sdcard ownership/permission

---Android version:

[ROM][JB 4.2.2] [Team EOS 4], Build number=EOS JDQ39 Nightly B202

Kernel: 2.6.39.4-kat103-g8a301a9

---Hardware

ASUS Transformer TF101

---link definition in PM

name:testd

source=/storage/emulated/0/testd

destination=/storage/sdcard1/testd

---After pin the pair, the pin icon becomes green and stay the same.

---mount result after reboot---

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0

tmpfs /storage/emulated tmpfs rw,nosuid,nodev,relatime,mode=050,gid=1028 0 0

tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

/dev/block/dm-0 /mnt/asec/com.maxmpz.audioplayer.unlock-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-1 /mnt/asec/com.mobisystems.editor.office_registered-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-2 /mnt/asec/com.jim_donate-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-3 /mnt/asec/demo.galmoori.wallpapereditor-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-4 /mnt/asec/com.teslacoilsw.launcher.prime-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-5 /mnt/asec/com.jrummy.liberty.toolboxpro-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-6 /mnt/asec/com.widgetsoid-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-7 /mnt/asec/udk.android.reader-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

/dev/block/mmcblk0p1 /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p2 /cache ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p7 /data ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered 0 0

/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/block/mmcblk1p1 /Removable/MicroSD vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/block/vold/179:9 /storage/sdcard1 vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

---mount result after pin FM---

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0

tmpfs /storage/emulated tmpfs rw,nosuid,nodev,relatime,mode=050,gid=1028 0 0

tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

/dev/block/dm-0 /mnt/asec/com.maxmpz.audioplayer.unlock-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-1 /mnt/asec/com.mobisystems.editor.office_registered-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-2 /mnt/asec/com.jim_donate-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-3 /mnt/asec/demo.galmoori.wallpapereditor-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-4 /mnt/asec/com.teslacoilsw.launcher.prime-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-5 /mnt/asec/com.jrummy.liberty.toolboxpro-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-6 /mnt/asec/com.widgetsoid-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

/dev/block/dm-7 /mnt/asec/udk.android.reader-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=writeback 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

/dev/block/mmcblk0p1 /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p2 /cache ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p7 /data ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered 0 0

/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/block/mmcblk1p1 /Removable/MicroSD vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/block/vold/179:9 /storage/sdcard1 vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:9 /data/media/0/testd vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0