linuxdeploy
linuxdeploy copied to clipboard
[rclone/fuse] Cannot access outside chroot
I've successfully mounted google drive using rclone and fuse but cannot access it outside chroot (folder is empty), any suggestions?
I've accomplished this today with plexdrive (accessing the mounted folder from android). In linux deploy on mounted paths on boot of the chroot, I've set /data there and then with plexdrive I've mount it with the correct permissions on /data/media/0 (this equals to my device internal storage), worked perfectly! :)
SOLVED! Solution: Magisk > Settings > Mount Namespace Mode: Global Namespace
How I figured it out First I wrote about the problem I was experiencing. Then I tested on other devices (which worked). Then I created a table showing the very different characteristics of each device I tested with. There was no pattern between old/new version of Android or Kernel. But one thing stood out. The only one not working was using Magisk for root. So I checked out the settings... low and behold.
Me too I am also experiencing this problem in 1 out of 3 Samsung Android devices I've tried.
ROM Vendor - Android Version - Kernel version - su Software - Fuse accessible to other apps? Samsung - (Android 4.4.2) - 3.0 Kernel - Phh's SuperUser - Working Samsung - (Android 7.0) - 3.10 Kernel - Magisk 17.1 - Not working ... now also working LineageOS 15.1 - (Android 8.1) - 3.4 Kernel - LineageOS addonsu - Working
Details: I've done the steps below on 3 different Samsung android devices. One LineageOS the other 2 are stock ROMs (rooted of course)
- Set /foo as a mountpoint in Linux-Deploy.
- Mount /foo/bar as a fuse FS.
In one of the Samsung ROMs, inside the chroot I can view the files. But when looking as other Android apps (even with root access) /foo/bar appears empty. I tried disabling SELinux, but was not able to disable it.
Try this