KernelSU
KernelSU copied to clipboard
Unable to access app data
Describe your problem.
Hi!
We're not really sure if this is a bug or intended behavior, but with KernelSU on WSA app data directories return "Permission denied" whereas Magisk has no such issue.
What we've tried:
- Switching namespace to global
- Adding "app" to the user groups
Is this intended behavior, a setting we need to change, or a bug? If it's a bug, what information should I provide?
Maybe it is a bug, you can use adb shell and execute su -mm, then ls -al /data/data, can you see any data?
And also, which app do you test?
And also, which app do you test?
App we're developing internally + adb shell (with su)
Maybe it is a bug, you can use adb shell and execute
su -mm, thenls -al /data/data, can you see any data?
Will check it tomorrow.
Listing folders (with just su) under /data/data works, but any sort of access to files or directories in actual app data folders results in Permission denied
Do you install Magisk with KernelSU together? Permission denied is werid.
Do you install Magisk with KernelSU together?
Permission deniedis werid.
No, both are relatively clean installs of WSA (generated using MagiskOnWSALocal)
su -mm produces no different result. We're currently trying to clean reinstall WSA, just to eliminate any issues on that front.
Weird as hell. After completely uninstalling + reinstalling WSA, the problem resolved itself
What's weird, is there were no selinux denials and permissions should have been okay. We'll just chalk it up to a weird one off problem.
Anyway, thanks for your time!