Cannot list all folders in /data/data in few apps
I have a rooted Android 11.
Using Termux, or Es File Explorer, I can see all the 284 directories in
Unfortunately, many file explorer apps (with root privileges, such as Total Commander, ZArchiver) can only see 2 folders :
com.google.android.gms(don't know why), and their own data folder.
I thought this was related to https://android.stackexchange.com/questions/224744/allow-apps-access-to-data-of-other-apps , but apparently no since I granted the root privileges to both apps...
How could I see all the folders in /data/data using (for example) Total Commander? Doing a
chmod 755in Termux? Or maybe there is a problem with these apps as if they they don't use root privileges if at least one folder/file is visible in "normal user" mode?
To mark this question as solved.
As @alecxs said, these apps does not handle correctly mounting namespaces, and therefore we need to select in Magisk settings
Mount Namespace Mode->
Global Namespaceinstead of Inherit.