Friday, December 25, 2015

How to mount a folder with -o bind so that the reguilar users can access?

Hi

I am having an issue with mounting some folders.

I am trying to mount some folders from sdcard1 to sdcard. Now the mount works but regular access via /storage/emulated/0 etc is not possible. However root can access any combination of these local mounted storages.

I am using combinations like below
mount -o bind /storage/sdcard1/somefolder /mnt/shell/emulated/0/MOUNT
mount -o bind /storage/sdcard1/somefolder /storage/sdcard0/MOUNT
mount -o bind /storage/sdcard1/somefolder /data/media/0/


None of these mounts is able to make "somefolder" accessible to the user. Please bear in mind that the user can access all the sdcard1 and sdcard0 folders just fine. so I do not know what else to try to get this working.


I am on And 5.1.1 Cyanogenmod12 Samnsung Tab Pro

thanks


via xda-developers http://ift.tt/1mEpjHq

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

No comments:

Post a Comment