*Environment**:*

   - *Android-Build:* 4.4 KitKat (KRT16M) - Google Factory Image
   - *Device:* Nexus 5
   - *Shell:* ADB

*Problem:*

When I mount a new Filesystem in the "adb shell" as root, the mountpoint is 
only visible to root (the user/process who created it).


*Question:*

Does anyone know why and how to workaround it?


*Example:*

user@ubuntu:~$ android/android-sdk-linux/platform-tools/adb shell
shell@hammerhead:/ $ su
root@hammerhead:/ # mount -o rw,remount /
root@hammerhead:/ # mkdir /mnt/test
root@hammerhead:/ # chown media_rw:media_rw /mnt/test/
root@hammerhead:/ # chmod 777 /mnt/test/
root@hammerhead:/ # busybox mount --bind /mnt/sdcard/ /mnt/test
root@hammerhead:/ # ls /mnt/test/ -la
drwxrwx--- root sdcard_r 2013-11-06 14:10 .MySecurityData
-rw-rw---- root sdcard_r 33 2013-11-20 18:17 .bugsense
drwxrwx--- root sdcard_r 2013-11-21 14:00 .estrongs
drwxrwx--- root sdcard_r 1970-01-02 01:01 Alarms
drwxrwx--x root sdcard_r 2013-11-06 01:12 Android
drwxrwx--- root sdcard_r 2013-11-12 18:10 DCIM
drwxrwx--- root sdcard_r 2013-11-18 23:38 Download
...
root@hammerhead:/ # exit
shell@hammerhead:/ $ ls /mnt/test -la
shell@hammerhead:/ $ 

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to